On 2007-11-09 18:10, Alex Zbyslaw <[EMAIL PROTECTED]> wrote: > Giorgos Keramidas wrote: >> 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$ > > Must be new, because in 5.4 I get: > [...] > I find the behaviour you get definitely undesirable. There are > occasionally accounts have special purpose shells which do work in > some restricted fashion which you *might* want to use (in which case > you can su) or which you might not (so you su -m). [...]
False alarm. I had a desynced /etc/pwd.db when this happened. The correct behavior with nologin as the shell is: [EMAIL PROTECTED]:/root# su ftp This account is currently not available. [EMAIL PROTECTED]:/root# > Confused. I apologize for the confusion :/ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"