View previous topic :: View next topic |
Author |
Message |
niyogi Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Guybrush3.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Nitro Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/411ae9313daf78e5a1867.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
gschneider Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/54775496951d7b24e2347e.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
|