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

 
 
 

shadow passwd - login.defs

Post by Jeff Hollow » Fri, 26 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.

In my /etc/login.defs file, in the description for this option, it says "This
option is not implemented right now..."

Jeff

 
 
 

shadow passwd - login.defs

Post by Steve La » Sat, 27 Jul 1996 04:00:00



Quote:>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

    The way I learned from FRTM is placing a * in the password field.

--
                         ------------ = -----------
                                Steve C. Lamb
                 Go away way very far away, take your leave
                I'll never hate you, I'll never think of you
                            And I'll never grieve
                                   -- Happy Rhodes, "If So..."

 
 
 

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. Using Xfax?

3. HZ variable in shadow-mk login.defs

4. kisdn

5. passwd, and login.defs

6. motd question

7. Failed logins - login.defs

8. AHA2940 problems

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?