View previous topic :: View next topic |
Author |
Message |
niyogi Apprentice
Joined: 10 Apr 2002 Posts: 199 Location: Austin, TX
|
Posted: Sat Apr 13, 2002 5:25 pm Post subject: |
|
|
how do you disable login privileges? |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Sat Apr 13, 2002 6:05 pm Post subject: |
|
|
If you do Code: | passwd -l <username> | The account wil become locked, the encrypted password will be prefixed by a '!' and will never match any hash. And to unlock it use Code: | passwd -u <username> |
_________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
gschneider Tux's lil' helper
Joined: 10 Apr 2002 Posts: 81 Location: Rostock, Germany
|
Posted: Sat Apr 13, 2002 6:45 pm Post subject: |
|
|
niyogi wrote: | how do you disable login privileges? |
if you want to disable console login only (e.g. for ftp users) you can set the users' shell to /bin/false
Code: | usermod -s /bin/false username |
Regards,
Gerald _________________ /(bb|[^b]{2})/ |
|
Back to top |
|
|
|