Go 2 Linux/Unix World !!
Tips n Tricks of Linux/Unix/Solaris.........
Pages
Home
Popular Linux Distribution
Useful Linux Applications
Useful Linux-Links
Contact Me
Monday, May 24, 2010
How to disable root login (or any user's login)
If you want to disable root user's login (or any other user's login), you can change his/her home directory to
/sbin/nologin
or
/bin/false
.
Now user can not login into any shell.
1 comment:
Ganesh
December 15, 2010 at 6:31 PM
Thank U sir!
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Thank U sir!
ReplyDelete