Results 1 to 4 of 4
which is better for security in order to disable login to an account, setting the shell to false, nologin or null?
is there any difference?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-16-2007 #1
Disabling login access to account, nologin,false or null?
which is better for security in order to disable login to an account, setting the shell to false, nologin or null?
is there any difference?
- 03-16-2007 #2
nologin will do. But it will not keep root away.
In case, if you want to restrict some access from remote, use ssh and u can even block root access thro' ssh.---------------------------------
Registered Linux User #440311
HI2ARUN _AT_ GMAIL _DOT_ COM
---------------------------------
- 03-16-2007 #3
oh yeah? I bet false will keep even root out, not that you'd want to blow your own foot off like that though...
- 03-16-2007 #4Just Joined!
- Join Date
- Jan 2007
- Posts
- 44
Reply
I believe the best option would be to allow the user to change his password without giving him login access. try this
shell= /bin/passwd


Reply With Quote
