On 2007-11-09 16:34, Alex Zbyslaw <[EMAIL PROTECTED]> wrote:
> [ discussing `su -m' option ]
> Also the only way I know on FreeBSD to interactively become a user
> with no real shell (true, nologin etc).

It should be possible to type:

        su username

i.e. here's an ftp session on my laptop:

        [EMAIL PROTECTED]:/root# fgrep ftp: /etc/passwd
        ftp:*:1003:1003:& user:/home/ftp:/usr/sbin/nologin
        [EMAIL PROTECTED]:/root# su ftp
        [EMAIL PROTECTED]:/root$ id
        uid=1003(ftp) gid=1003 groups=1003
        [EMAIL PROTECTED]:/root$

Good idea, though :)

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to