On Thu, May 3, 2012 at 2:16 PM, Tyler Morgan <tyl...@tradetech.net> wrote:
> On 4/25/2012 5:11 PM, Stuart Henderson wrote:
>> On 2012-04-24, Tyler<disc...@gmail.com>  wrote:
>>> My problem is security(8) complains about this every day:
>>> "Login admin is off but still has a valid shell and alternate access
>>> files in home directory are still readable."
>>
>> vipw and set the crypted password to 13 *'s. pretty sure the old
>> /etc/security script did the same thing in this respect.
>
> Thanks for the help.
>
> This worked -- security is no longer whining about the accounts -- and I
> found the proper documentation in passwd(5).

FYI: For a test, I added "foo" with useradd(8) and "bar" with adduser(8):
# grep -E "(foo|bar)" /etc/master.passwd
foo:*************:1002:1002::0:0::/home/foo:/bin/ksh
bar:*:1003:1003::0:0:bar:/home/bar:/bin/ksh

Looks like useradd does the right thing and adduser does not.

-ME

Reply via email to