Subject: Re: Single user mode files (was: Rototil ...)
To: William Allen Simpson <wsimpson@greendragon.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: current-users
Date: 06/06/2003 11:35:47
On Fri, 6 Jun 2003, William Allen Simpson wrote:

> passwd is in /usr/bin.  Not even /usr/sbin -- where I'd have guessed
> "security" binaries might be stored!

passwd(1) is tool that can be used by regular users to change their own
passwords.

> IMHO, passwd really should be in /sbin.  And chmod, more & less, and
> other really basic file commands, should be in /bin.

/sbin is for administration and system tools. passwd(1) is for non-admins
too. /usr/bin/passwd is normal for other operating systems too. (Anyways,
it uses pwd_mkdb(8) which is under /usr/sbin/.)

chmod(1) is in /bin. But I do agree, it would be useful to have a pager in
/bin too.

> The reason I hadn't used the root password on that particular machine
> is: NetBSD won't let me SSH to root....  Oh, I already did that rant 6
> months ago when I came back to NetBSD after a long hiatus....

That hit me on a remote box last year too.

   Jeremy C. Reed
   http://bsd.reedmedia.net/