Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [login]

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

37
votes
5answers
33k views

How to remove “You have mail” welcome message

When I open up my terminal it says "you have mail", anyone has any idea of why? I am running OS X, but since it too is based on Unix and relies on files such as bashrc, bash_profile etc. I thought ...
7
votes
1answer
2k views

gdm greeter configuration: Exclude all *except* for one specific user

I have Googled this one and tried so many combinations, with no success. I need the GDM login greeter to display one and only one username. In effect, what I need is something like this in /etc/gdm/...
10
votes
3answers
29k views

How do I log out of all my active sessions?

For some reason, I have a few open sessions on an SSH server that I don't know about. I assume they're leftovers from when my pipe broke. $ users user1 user2 user3 me me me me Is there a way to log ...
5
votes
1answer
3k views

Linux Mint GUI stays black after login

Suddenly this happens: When I boot my noteback linux mint boots to the login screen. Then after I logged in the mouse cursor is visible centered on a black background. And thats where nothing more ...
1
vote
0answers
39 views

private key flash drive for server login

is there a way to make it so with my servers when I want to get into the console I can just plug in a flash drive with private keys on them that are trusted like the ones I have for ssh from my ...
1
vote
1answer
1k views

How do I remove login password for Centos6.5?

Question 1 On Centos 6.5, I have a username called admin. How can I make it so the system logs in automatically? Question 2 How can I configure system to login as root user when there are other ...
-1
votes
1answer
16 views

Debian Testing not booting fully (display manager not loading)

Every time I boot my (fresh) Debian install with gnome-core with a couple of the packages added that come with gnome. I installed Debian without a desktop environment which boots and reaches the login ...
0
votes
1answer
21 views

Shell Script to fix minimum password age not working but no errors

The goal of this script is to change the minimum password age in the /etc/login.defs file. My issue is that this script runs, I don't get any errors but when I vi to the file, nothing has changed. I'...
2
votes
2answers
11k views

What does “Cannot make/remove an entry for the specified session” mean?

Instead of logging me in, PAM greets me with the message "Cannot make/remove an entry for the specified session" after I enter the password. What entry is it talking about (and what session)? The ...
0
votes
2answers
78 views

Is there a way to perform a full login as another user without being root?

In our setup, we are forced to use Microsoft Active Directory (AD) for ssh access to our Linux VM, so that when employees leave they can be blocked from accessing the VM once their AD account is ...
2
votes
1answer
377 views

Debian login loop, can't login with correct password

I've updated my repositories on synabtics the upgraded firefox to newer version, when I open it it crashes, while this I was having my hard drive plugged .. so I tried to reboot to fix Firefox crash .....
0
votes
0answers
28 views

Login incorrect after installing nfs-utils

I am attempting to install nfs-utils (and thus all its dependencies) in a stateless RHEL6.5 KVM VM. The VM is configured to have a read-only root via the /etc/sysconfig/readonly-root file, Linux magic ...
2
votes
1answer
2k views

Switch user and elevate to root as a single action?

I have a system that is setup to require a password both to elevate to root, and to switch to the only user that can do so, so currently if I need to do something as root from another account I would ...
0
votes
0answers
21 views

What are the performance overheads between logging in to another user account via ssh vs login

In Gnu/linux systems, I can perform a full local login (i.e. where logname returns the same output as whoami) by two methods: login: sudo login second_user (prompted for password) ssh: ssh ...
289
votes
5answers
158k views

Difference between Login Shell and Non-Login Shell?

I understand the basic difference between an interactive shell and a non-interactive shell. But what exactly differentiates a login shell from a non-login shell? Can you give examples for uses of a ...
0
votes
2answers
102 views

Question about login logs using “sudo su - username”?

While doing my Linux training I found this curiosity: If I do "sudo su - username" and log into that username account, it doesn't count as login when I do "finger username" Take this image where "...
3
votes
1answer
30 views

Why does rbash not apply any restrictions for a login shell on Debian 9 (Stretch)?

I am on Debian 9 (Stretch). I have a deploy user where I've set the shell to /bin/rbash. Here is the line from /etc/passwd: deploy:x:9000:9000::/home/deploy:/bin/rbash If I am the root user, and I ...
0
votes
0answers
19 views

How can I reduce failed login delay in Arch Linux with KDE?

I tried some /etc/pam.d modification and succeeded in reducing tty login delay. But in lockscreen it always takes 2 seconds delay with failed login. How can I reduce this? There was a possible ...
457
votes
10answers
1.9m views

How to switch between users on one terminal?

I'd like to log in as a different user without logging out of the current one (on the same terminal). How do I do that?
0
votes
0answers
43 views

How to customize linux mint cinnamon 19 login screen

I would like to know if there is a way to customize the Linux mint login screen. And by customize I don't mean the background, but for example can I move the password input box to the middle instead ...
2
votes
1answer
17k views

How to recover missing serverauth so user can startx?

I've been using PCLinuxOS. All was OK until the Hard Drive had a bad block. After some fsck repair, from the shell, I tried to startx: xauth: file /home/joe/.serverauth.2052 does not exist. ...
0
votes
0answers
15 views

Login Failed at Manjaro KDE no user can login

No user can login. I did the same as this post No users can log in I tried a lot of things and no one logged. Any solutions?
0
votes
1answer
80 views

CentOS XFCE stuck at splash screen

When I log a user on a CentOS workstation with XFCE, the machine get stuck on the splash screen. It just never disappear. Even if I set the Slash screen settings to None. Those users are part of an ...
0
votes
0answers
23 views

Fedora 28 hangs when logging in shortly after boot

I am running Fedora 28 on a ThinkPad T460s. On the first log in, directly after booting, the screen becomes grey with the mouse pointer visible, but I cant move it. It stays like that for a few ...
1
vote
2answers
2k views

How to start a script after login using gdm?

I am using arch linux with xmonad, and I login using gdm, but to make xmonad work properly I have to run a script directly after login (actually I want to run .xinitrc after login using gdm to set ...
0
votes
1answer
52 views

Change tty respawn in Debian 9 (Stretch )

I try to change respawn tty to some other bin file , before that I configure that on /etc/inittab But now this file doesn’t exist ; how can I do that ? ( my goal is “ call my binary instead of tty ” )...
4
votes
3answers
679 views

Explanation for the meaning of content of the /var/run/utmp file

I would like to understand the content of the following file system /var/run/utmp. When I use the command od to open it I see the following: [john@iceman ~]$ od -c /var/run/utmp 0000000 002 \0 \0 ...
2
votes
1answer
2k views

Login Keyring in Fedora 25

Whenever I login to my computer I get a window which says Enter password to unlock your login keyring and The password that you use to login to your computer doesn't match with the login keyring To ...
13
votes
4answers
8k views

Weird SSH issue, ssh works with -t but freezes without it

When I ssh into one of my servers, it seems to log in, but then hangs before giving me the prompt (message debug2: shell request accepted on channel 0 is the last log entry). Though the odd thing is ...
0
votes
1answer
53 views

Why does vsftp return 530 incorrect login?

I started a vsftpd server on my arch linux desktop and then tried to log in to it using using my normal user. But I get "530 Login incorrect" when I attempt to log in: $ systemctl start vsftpd $ ...
0
votes
0answers
42 views

Unable to login to Fedora 28 system

I'm unable to login to my Fedora 28 system. I have a dual boot system with Fedora 29 and 28. I often use the Fedora 29 system and now booting the Fedora 28 after long days say around 2 months. I'm ...
1
vote
2answers
989 views

Stuck in a login-loop in lightdm and gdm, but not with xfce and other systems

The interesting part is I found that I was able to login with xfce but not with either lightdm or gdm. (I am using Ubuntu 16.04)
3
votes
1answer
87 views

How to configure a shutdown at the xth wrong entered password?

Having an encrypted hard drive is all well and good, but chances are that if someone is gonna steal your laptop, it’s probably not going to be turned off. Most likely, it will be stolen in a powered-...
1
vote
2answers
2k views

Turn on bluetooth on login screen

Is it possible to have bluetooth turned on and use a bluetooth keyboard when at the login screen? So far I only managed to start the bluetooth daemon when logged in. I added it to systemd with ...
4
votes
0answers
1k views

Errors after offline Kali installation on Dell XPS 13

Trying to get Kali Linux Rolling 2016.1 installed on an out-of-the-box brand new Dell XPS 13 Developer Edition (meaning it came with Ubuntu 14.04 LTS installed on it). I'm installing it with no ...
3
votes
1answer
1k views

Running a shell script on n failed login attempts

I'd like to run a script if the login on my machine fails 3 times (not ssh, but someone in terminal trying to login, or someone trying to physically login). Also, is if it is possible to configure the ...
0
votes
3answers
132 views

Is there a way to switch to “su -” after switching users through “su”?

Basically what I want to be able to do is to switch to having used "su -" instead of the traditional hyphenless "su" after already using "su" to switch to another account. My initial thought was to ...
6
votes
3answers
19k views

How do I enable auto-login in Mint 18?

Mint 18.2 64b Cinnamon 3.4.3 This is running in a VM on my machine so I'm not worried about login security. I've been looking around on the Mint forums and only found a lot of threads about ...
1
vote
1answer
4k views

Login incorrect on CentOS

I've downloaded a CentOS-7-x86_64-Minimal-1511 iso file for testing purposes. I also have Hyper-V on Windows 10. I loaded the image file and as far as configuring the below there was not much to do ...
0
votes
1answer
15 views

Unable to login for graphical session on Mint + Not available space on filesystem

I've been trying to start a graphical session with all users on my system but I've been always reverted to the login screen. After initiating a terminal with (Ctrl+Alt+F1) from there, I've been able ...
21
votes
7answers
31k views

How can I change what's displayed at a login shell?

I'm getting more familiar with tweaking the way things look in a shell via the prompt (.bashrc), but I'm now trying to change the initial stuff displayed when I first log in. On my EC2 instance, this ...
8
votes
4answers
3k views

Restrict the times a user is allowed to log in

We have several Backbox 3.13 systems built on Ubuntu 12.04. One of my teenagers does not understand the concept of this thing called "sleep" and tends to get up to play on the computer. I'm trying to ...
3
votes
1answer
2k views

Cannot bypass login screen with correct credentials and no errors in Kali Linux

Today I downloaded the latest VMware image of Kali Linux (Kali Linux 64 bit VM). After that, I configured the hostname in /etc/hostname and adapted also the /etc/hosts to set permanently a hostname. ...
2
votes
1answer
4k views

Elementary OS: Accidentally installed Ubuntu Login Screen

When I restarted my Elementary OS Laptop today I was shocked, because I was on an Ubuntu-styled glitching Login Screen. I guess I accidentally installed it, by trying to get ubuntu-tweak-tools on my ...
1
vote
2answers
1k views

`xmodmap` not working on startup

I recently installed Debian 9 and inserted my usual ~/.Xmodmap file and added xmodmap ~/.Xmodmap to my .xsession. To my disappointment this didn't actually work. For reference, I run i3 from startx ...
0
votes
1answer
73 views

Recovering from a 'corrupt' theme installation on Debian

I recently installed a new theme on my Debian Stretch machine, however after rebooting, I am unable to get past the login screen. If I enter the incorrect log in details, the systems tells me that the ...
3
votes
1answer
361 views

Every AD SSH login starts with a failure in audit.log

Whenever I login to my Centos 7.x server I always get a transparent failure in the audit.log. This is making my attempts to have a daily script for failed logins very difficult as we can't be sure ...
2
votes
1answer
1k views

authentication failure on new arch install

I'm setting up a new machine running Arch and after going through the beginner's guide I rebooted into the machine and when trying to log in as my user or as root with correct passwords I get back the ...
2
votes
0answers
134 views

The auto login configuration can't pass the first appeared screen after reboot/shutdown

Because the device is a tablet, I would like to can use it "take away" also without the attached wireless keyboard, that's why, I intend to use the auto login. I would like to resolve if it is ...
3
votes
1answer
2k views

How to use Desktop Lock Screen and turn off XScreenSaver Login Screen?

I am running Linux Mint 17.1, Cinnamon Desktop, Compiz, and XScreenSaver. I want to be able to use the Desktop Lock Screen and turn off the XScreenSaver Lock Screen. Turning off the Lock Screen in ...