Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IMAP account without shell access 2

Status
Not open for further replies.

venkman

Programmer
Oct 9, 2001
467
US
I'd like to make a mail account available through IMAP and POP, but not allow the user shell access through SSH. How do I go about doing this? Also is there a way to do this if the account was already created with shell access? i.e. can I revoke shell access without deleting the account?

-Venkman
 
Change the users shell to /bin/false.

usermod -s /bin/false username


ChrisP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top