shadow passwd - login.defs

shadow passwd - login.defs

Post by John D. Lac » Thu, 25 Jul 1996 04:00:00



In the login.defs file there is a switch to disable logins for users by
putting NOLOGIN in the shell field in the /etc/passwd file. This is
supposed to disable logins but still allow "su".  When I do a "usermod -s
NOLOGIN testuser" and try to login under testuser I get an error that it
can't execute NOLOGIN : No such file or directory.  When I try to su -
testuser I get the same error and don't get logged in as that user.  Can
anyone help me with this.

J.D. Lacey

 
 
 

1. shadow passwd - login.defs

In the login.defs file there is a switch to disable logins for users by
putting NOLOGIN in the shell field in the /etc/passwd file. This is
supposed to disable logins but still allow "su".  When I do a "usermod -s
NOLOGIN testuser" and try to login under testuser I get an error that it
can't execute NOLOGIN : No such file or directory.  When I try to su -
testuser I get the same error and don't get logged in as that user.  Can
anyone help me with this.

J.D. Lacey

2. HELP PLEASE! with BIND dns server!

3. HZ variable in shadow-mk login.defs

4. DOSEMU 0.53pl45: Unref. symbol in text segment

5. passwd, and login.defs

6. FixDist not fixing.

7. Failed logins - login.defs

8. stupid bug fix for getty_ps2.0.6

9. Need source to login that uses /etc/login.defs

10. : ftpd, login and shadow passwd.

11. xdm, login, shadow passwd

12. shadow passwd and login shell

13. Shadow passwd breaks telnet login?