Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2008 14:16:05 +0000
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Help with su on 6.3
Message-ID:  <47B44D25.10804@dial.pipex.com>
In-Reply-To: <6.0.0.22.2.20080213125757.02532c58@mail.computinginnovations.com>
References:  <bd20341a0802121616k51de1330g4bc486072a4c097b@mail.gmail.com>	<6.0.0.22.2.20080212190133.024c3008@mail.computinginnovations.com>	<bd20341a0802131051h4d5e2680tc8aa52f644c56ef8@mail.gmail.com> <6.0.0.22.2.20080213125757.02532c58@mail.computinginnovations.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Derek Ragona wrote:

> I usually just set the shell to /usr/bin/false or /usr/sbin/nologin 
> for users like these.  Of course you can't test these interactively 
> with su.  If you want to do that, give the account a valid login 
> shell, test it, then set it to false or nologin.
>
It's not clear to me what you mean by "you can't test these 
interactively with su".  If you mean you can't su to them and get a 
shell; that's wrong.

su -m account_with_fake_shell

--Alex




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47B44D25.10804>