Subject: Re: Single user mode files (was: Rototil ...)
To: William Allen Simpson <wsimpson@greendragon.com>
From: Greywolf <greywolf@starwolf.com>
List: current-users
Date: 06/06/2003 14:02:59
Thus spake William Allen Simpson ("WAS> ") sometime Today...

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

I understood "s" to stand for "super-user" (i.e. "administrative").
Perhaps it should have been called /abin?  Who knows.

WAS> In single user mode, without /usr mounted, it took a long time to find.
WAS>
WAS> IMHO, passwd really should be in /sbin.  And chmod, more & less, and
WAS> other really basic file commands, should be in /bin.

more/less have no business in /bin unless you're one of those wackos who
thinks /bin should have the contents of /usr/bin added to it (BIG SMILEY
here!).

passwd should be in /bin if it is to be moved at all.  Not only the
super-user has reason to use passwd, after all...

[extrapolating s/chmod/chown/ from next message]
chown should NOT be in /bin, but in /sbin, if it is to be moved at all,
unless you're a mortal user in the habit of using chown to chgrp your
files.

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

You can make it so via /etc/ssh/sshd_config:

	PermitRootLogin yes

				--*greywolf;
--
NetBSD: SIMMs Like Good Code.