LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Creating a user with no permissions... (https://www.linuxquestions.org/questions/linux-newbie-8/creating-a-user-with-no-permissions-323758/)

defa0009 05-15-2005 01:30 PM

Creating a user with no permissions...
 
I would like to create a user called 'mailman' that would have no other access to read, write, or execute on any file other than what is in his home directory. This 'mailman' user would be used just for retrieving mail off the server. This way if anybody gotr my username and password from my Outlook Express they couldn't go looking all through my linux server.

I know I start with:

useradd mailman
passwd mailman

after that how would i set his permissions as mentioned above?


TIA:newbie:

david_ross 05-15-2005 02:12 PM

If you want to keep the user in it's home directory then you'll need to create a jail:
http://olivier.sessink.nl/jailkit/

A better solution may be to just create a virtual mail user or disallow logins via ssh etc.

defa0009 05-15-2005 02:16 PM

How does one create a virtual user?

david_ross 05-15-2005 02:21 PM

It would depend on your mailserver and configuration. There should be something in it's documentation.

defa0009 05-15-2005 02:24 PM

I'm using Sendmail... guess I'll go take a look around the net...

Thanks.


All times are GMT -5. The time now is 02:59 AM.