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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding users to sendmail 1

Status
Not open for further replies.

benp07

Technical User
Aug 31, 2001
87
US
i am running mandrake 8.1 with the latest sendmail installed so far i have just been making system users for my mail users but i don't want all of them as system users i just want mail users whats is the besy way to add users to just sendmail
thanks
Ben
 
Hi,

The simplest is to set the user's shell to /bin/false instead of bash . Soemthing like :

# /usr/sbin/useradd -d /home/user1 -s /bin/false -c "Joesph User" -g mail user1

This prevents logon because there is no interactive shell . Also, you can put all users into a specific security group (e.g. mail) for good measure. If you add accounts from the command line like that you also have to set their password :

# passwd user1


Hope this helps

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top