Showing results for 
Search instead for 
Did you mean: 
Flight Engineer t3kg33k Flight Engineer
Flight Engineer

Bypass /etc/nogin with specific user(s)

Anyone know if there is a way to specify a specific user, or users (a group?), allow access either via ssh or at console when there is a /etc/nogin file present?

I found a thread online that mentions adding the following line to /etc/pam.d/login just before the 'account required' line:

account [success=1 default=ignore] quiet user ingroup group

I've tested this and it's not working for me. I'm testing this in CentOS 7.

Labels (2)
0 Kudos
Join the discussion
You must log in to join this conversation.