Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do you disable login privileges?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
niyogi
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 199
Location: Austin, TX

PostPosted: Sat Apr 13, 2002 5:25 pm    Post subject: Reply with quote

how do you disable login privileges?
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Sat Apr 13, 2002 6:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
gschneider
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2002
Posts: 81
Location: Rostock, Germany

PostPosted: Sat Apr 13, 2002 6:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum