At 15:01 14/09/00 -0500, Jonathan Wilson wrote:
>Howdy,
>
>I want to set up a new user - listar - for a the mail serv program to run as.
>
>I DO NOT want it to have a login shell and definitely not a /home/~.
>
>What's the proper way to do this?

AFAIK The easiest way is just to add it to your passwd file with a shell
set to some non-usable shell (/bin/false seems to be standard on RH) so it
would look vaguely like:

listar:*:10201:500:List Operator:/var/tmp/listtmp:/bin/false

The "*" password means no password (but also no login). The user won't have
a home dir unless you use a script/program (Linuxconf or some such) to
create the user.

>Should I make a listargroup group to go with it?

<shrug> You can if you like, I guess it's basically your call. My general
attitude towards creating groups is that I will create a group
if-and-only-if I want to assign certain permissions specifically to more
than one, but not all users. If not then just make it belong to some
existing unprivileged group (e.g. you should have a "nobody" group). In
fact you might also want to have a look at the passwd file entry for the
user "nobody" as that may be a good template.
--

To be considered half as good as Microsoft,
           Linux has to work twice as fast.
           Fortunately, this is easy. 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to