Subject: Re: bin/32904 (uname, logname, id in /usr/bin should be in /bin)
To: SODA Noriyuki <soda@sra.co.jp>
From: dieter Roelants <dieter.NetBSD@pandora.be>
List: netbsd-help
Date: 02/22/2006 16:29:31
[Moved to netbsd-help]

On 02/22/06 16:14:55, SODA Noriyuki wrote:
>=20
> If only root partition is available, the machine doesn't reach
> multiuser mode yet, thus, it's likely the script is invoked with
> root privilege.

or do
ps -o user -p $$  # or -o uid or whatever


dieter

> And to see whether the machine is running NetBSD as its OS,
> you can use the following command:
> 	/sbin/sysctl -n kern.ostype
> --
> soda
>=20
>=20

--=20
	For Speedy CVS Updates of your NetBSD trees check
	http://scu.bsdusr.net/scu
--
	There is virtue in doing the right thing just for
	the sake of doing it right.  -- Nicholas Petreley