----- Original Message -----
From: "Philip S Tellis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 18, 2002 4:08 PM
Subject: Re: [LIH] user creation.


> On Fri, 18 Jan 2002, Binand Raj S. wrote:
>
> > I am not sure a shell like /bin/bash -r is allowed in /etc/passwd.
> > Maybe you should get rbash compiled (which redhat does not do by
>
> ln -s bash rbash
>
> does the trick.  bash checks argv[0] on startup, and if it is rbash,
> sets the -r flag.
that seems the same as on my suse box.it has /usr/bin/rbash listed in
/etc/shells and /usr/bin/rbash turns out to be a link to ../../bin/bash.i
guess /etc/default/useradd can be edited to change the defaults that useradd
can take from the system (at least on redhat and suse).
i tried creating a test user and made the default shell as /usr/bin/rbash in
/etc/passwd.he does not seem to be having any problems so far in sending and
recieving mails thru smtp and pop/imap and even with squirelmail.
regards,
manohar



_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to