Questions tagged [login]

The process of logging in: from the login prompt, through user authentication, to session startup.

Filter by
Sorted by
Tagged with
0
votes
1answer
34 views

CentOS7 Server Access

Our former SysAdmin left. Unfortunately, he changed the main password to one of our linux servers and did not leave that with us. We've reached out with no response. Are there any other options ...
0
votes
1answer
37 views

Getting rid of “stdin: is not a tty” with remote command execution through ssh

The problem is with a Debian Jessie server. I run a remote command with ssh like the following example. #! /bin/bash ssh root@srv01 << 'STOP_SERVER' touch /tmp/testFile STOP_SERVER This ...
0
votes
0answers
8 views

Allow LDAP login for selected users only on SLES 12 SP 5

I have configured a LDAP Client on SLES 12 SP5. Now I want to allow only a selected group of users to login to the system. This group comprises 2 or 3 users. For all other users login must be ...
0
votes
1answer
45 views

Can I reboot and log back in, without a password, in one command?

Can I reboot and log back in without a password, in one command?
1
vote
0answers
58 views

The account is locked due to 3 failed logins - can I have this echoed in a terminal emulator?

Sometimes I get the password wrong, and it doesn't work anymore. Ok, fine, but sudo keeps saying the same thing, Sorry, try again, I since I forget about this from one episode to another, I got really ...
0
votes
0answers
29 views

Keyboard layout on login

Debian GNU/Linux 9 (stretch), no GUI Recently something happened to my SSH, so I need to login to my debian locally. I stuck on login (GUIless) because of keyboard layout, which by default is likely ...
1
vote
1answer
26 views

Bash logon script strange behavior

I am currently making a honeypot which will record all user input once they login successfully through SSH. Here's how it works: I have my honeypot user admin's default shell set to a bash script: ...
0
votes
2answers
57 views

Copied root filesystem, now user/root logins not working

I copied my root filesystem to another partition today, using cp -r --preserve=all, as I want to have a backup in case I have an issue with my main system. I am using Parabola, which is a libre ...
0
votes
1answer
54 views

CentOS 8 Boot ISO asks for login?

The GUI of Cent OS installer makes the server freeze for some reason, so I'm trying to install it from command line. (persistant across # images & medias) I've appended the following to the kernel ...
1
vote
1answer
36 views

is there a distribution that makes running and logging in as root workable out of the box?

all I ever use linux for is things that require root, e.g., modifying partitions on usb drives. I'd like to just log in as root and run X11 without being hassled about it every time I turn around. Is ...
1
vote
1answer
69 views

sudo -i and ~/.pam_environment

I have switched to using ~/.pam_environment for setting my user environment variables, and it works quite well. PAM takes care of setting everything, regardless of what shell I'm using, how I'm using ...
0
votes
0answers
3 views

I cannot see sshuttle session log

Is there anyway to see the login history for sessions created using sshuttle? I see no results using last command
0
votes
0answers
10 views

How to authenticate user without agetty login prompt?

I want to write a shell script based on cdm which not only lets the user choose which session to run, but also asks for their username and password. Just to give some details: it uses dialog, which ...
0
votes
0answers
31 views

Config file for enable-linger / disable-linger?

I know that loginctl enable-linger <user> and loginctl disable-linger <user> can be used to enable/disable linger for a user, and the status shown with loginctl show-user <user> (...
0
votes
0answers
23 views

Kali linux login problem

When I install kali in the installation they asked me for a name and a user to which I put whyth and I put a password everything was fine, when I turned on my laptop my username came out with its ...
0
votes
0answers
17 views

Run login user through PAM before systemd-user

My user@.service does not start properly due to /etc/pam.d/systemd-user failing to provide a password interactively (of course) to pam_mount; so consequently paths it needs are missing. # pam.d/...
0
votes
0answers
14 views

Is it possible to switch to active Linux installation from Recovery mode?

Noob here. I have Pop OS 20.04 installed on my laptop. I've been getting these sudden freeze-outs where I get dialogues like "disk is read-only" when I'm doing something. Then I restart, and ...
0
votes
0answers
29 views

“last” command for the past 7 days

I have a script which asks for a username and then outputs the login history for the user for the last 7 days. The last command displays everything for the last year but I am struggling to narrow it ...
0
votes
1answer
17 views

How to login with a non-login shell user?

How do I login as a non-login shell user such as the apache user? If I run sudo su - apache I get: This account is currently not available. And in /etc/passwd I have: apache:x:48:48:Apache:/var/www:...
0
votes
1answer
20 views

When I log in, on a tty instance it immediately asks for my sudo password

So I am attempting to log in on a tty, and it looks something like this : Arch Linux (tty1) hostname login: _ Password: _ Last Login at (Date) on (tty1) [sudo] password for user: _ And I think ...
0
votes
0answers
28 views

Alternative ways to enter English letters in Ubuntu

I don't know how but the English layout was removed from Ubuntu. At the moment I can't log in, because my password contains English letters. Also, when I'm starting it in advanced mode as root, I ...
0
votes
0answers
50 views

GNOME Desktop Environment Initialization Delay

Specs Display Manager: lightdm 1.30.0 Desktop Environment: gnome 3.36.3 Distro: Ubuntu 20.04 Focal Fossa Problem/Background Once I login, all I can see (for at least a minute) is the wallpaper and ...
0
votes
0answers
25 views

All the ways to run bash command without blocking

I wrote a small tutorial that uses rclone to mount a network drive at login. Then I had to get on a usb stick & remove the rclone line from .bash_profile, as rclone opens in the current process &...
0
votes
0answers
29 views

what is the load order for configuration files post login

I've never found a good explanation of this and I figured this would be a good place to ask. What is the load order of files during login? say you have an i3 or sway session launched from a console (...
0
votes
0answers
10 views

Console keyboard input broken due to boot messages

I've setup network bonding on a DELL PowerEdge server and after it went up the next time, the tty was shown asking for login (using iDRAC), but immediately additional boot messages about both network ...
2
votes
2answers
45 views

Limit ssh login for specific user based on IP address

How can I limit ssh login for a specific user to be allowed from just one IP address? I have a user named foo in server with e.g. IP address 127.0.0.5 (my first server) and I left its login via ssh ...
1
vote
1answer
22 views

Login prompt is not output correctly, thus not able to log into Linux through ttyS0

My system is a intel Atom based board without a vedio card, communication can be carried out through serial port(at baut rate of 115200) and ethernet port. I installed CentOS through PXE, after ...
0
votes
0answers
59 views

Gnome 3 - Remember root log in credentials

When I log in as root gnome does not remember root as it does for normal users. I can use down arrow to switch to another user, to insert root credentials. Also it does not remember the selected sub-...
0
votes
1answer
80 views

I want to able to run a script on login

I'm running KDE Manjaro. I have a background changer script which I want to run on login, but the thing is it doesn't do that. What I want it to do is run it every time I login doesn't matter how, ...
0
votes
0answers
86 views

Logging in just returns me to the login prompt - sddm authorization file issue

I just upgraded to Fedora 32, running KDE. By default it seems SDDM is the login greeter. When I log in the screen flickers and I am immediately returned to the greeter login prompt. Switching to a ...
1
vote
0answers
21 views

How to require password if single-user mode is selected Solaris 11?

I want to demand root password when running single-user mode on Solaris 11. Unfortunately any of the guides seem to work in my case. The /etc/default/sulogin is commented as required, uncommenting and ...
-1
votes
1answer
91 views

Shell loading issue - bash: /root/.bash_profile: Permission denied

I am trying to login with regular user over ssh. User login successfully. But user bash not loaded properly. I am getting the below message on my login screen Last login: Mon Jul 27 01:12:45 2020 from ...
0
votes
1answer
27 views

How to access Xorg before login in user service that needs some X features and started by user lingering

I have a user service in ~/.config/systemd/user which needs some X features (it needs to make some painting and image manipulation features). The unit file is something like: [Unit] Description=A ...
0
votes
0answers
32 views

Where is the “delay on a wrong password login” at the KDE login?

Please note this is a "mechanism, not policy" question. That means I do NOT want to discuss security policies, just the mechanism that implements them. I am using the latest Kubuntu 20.04 ...
1
vote
0answers
127 views

How to start user session (login user graphically) from CLI?

We can use loginctl in modern distributions with systemctl to control the user sessions, seats etc. E.g. with it is is trivial to logout users and works on all desktop environments. However, can I ...
1
vote
1answer
138 views

Default username when using TTY login

I'm a single user on my laptop and I want username to be automatically entered when trying to login to TTY1. I use Arch Linux. For example: Turn on computer Linux boots I enter password I'm logged in ...
3
votes
0answers
36 views

Help with using VNC on remote Fedora Linux machine at login screen

I have a linux machine at work running Fedora 29 / gnome. I always leave it logged on at work so that when I get home I can remote VNC to it and keep working. In previous Fedora's (16 I think) I ...
1
vote
0answers
19 views

Debian 10 Authentication error on sign in screen as soon as I click on my user name

As it says in the title, I am using Debian 10 on my laptop and I am facing a bit of a situation, as I am stuck in a login loop. The system allows me to type in my password sometimes, but most of the ...
0
votes
0answers
31 views

Are failed login credentials logged?

Are failed login credentials logged in any way in Linux, especially what is being entered as the username? Would it be possible that, when someone accidentally enters the login password into a ...
0
votes
0answers
21 views

Intermittent operation in perl loops when using non-login shell in Cygwin

I'm running perl inside cygwin under Windows (both 8 and 10). File loop.pl repeatedly calls another perl script worker.pl (simplified to make the problem clearer): loop.pl: for my $i (1..2500) { ...
0
votes
0answers
25 views

mount: can't find /run/user/65534 in /etc/fstab on startup

When I reboot my system and log into LxQt, I get a pop-up dialog that reads: (X) mount: can't find /run/user/65534 in /etc/fstab [ OK ] While my fstab is really ...
1
vote
0answers
40 views

Cannot login with correct password after fresh install: the disk is full

I've installed CAE Linux (Ubuntu 16.04) with USB-stick. I cannot login with GUI mode with my login and password, but it is possible to login another (CLI) terminal. And it is possible to login with ...
0
votes
1answer
39 views

PASS_MIN_LEN missing from login.defs

I've noticed that the PASS_MIN_LEN is missing from the password aging controls section inside /etc/login.defs (Ubuntu 20.04 LTS). At the end of the file there is a note that it's obsolete, alongside ...
0
votes
0answers
29 views

I can't login to the dekstop on Debian 10 buster kde plasma dekstop

i've installed linux debian recently (3 days ago), and after hours of usage, i turned on my laptop and couldn't login, i type the correct password and click enter but nothing happens, so after ...
1
vote
1answer
49 views

iptables doesn't filter my ssh failed logins any more [closed]

I have a rule on iptables to block too many failed attempted logins on ssh. On my new server however it seems not to work any more, in the sense that I can still login straight away even if I fail for ...
1
vote
0answers
44 views

Stuck on the login screen

I installed xubuntu DE on my machine and when I rebooted, my ubuntu got stucked on the login screen. Even the command to bring up the terminal CTRL + ALT + F2 is not working and everytime I enter the ...
0
votes
2answers
370 views

terminal stuck at “login” - blank screen (after installing oh-my-zsh, I think)

(I originally posted this on apple.stackexchange but then I found this one which is probably a better place) I have a big problem. I've freshly installed mac os and was setting up my terminal. I ...
0
votes
0answers
51 views

Debian Buster 10 KDE Plasma Login Screen not logging me in

I'm not new to Debian but I haven't really done any command line stuff. My laptop recently went through an upgrade and now I can't go passed the login screen. I'm using KDE Plasma and not even the ...
0
votes
0answers
89 views

How can I change the resolution of the login screen?

I have Linux Mint 20 running on my laptop. I have a dual monitor setup connected by VGA. The laptop monitor is 1366x768 and the external one is 1360x768. I went through a lot of hoops to get the ...
0
votes
0answers
51 views

Linux kali 5.6.0-kali2-amd64 - blank screen after login

After updating the latest snapshot with apt update && apt upgrade, my Kali encounters a blank screen after login, but this error will disappear after few attempt of logging in. Just now, I ...

1
2 3 4 5
23