Hi, On Wed, Mar 27, 2002 at 08:17:05:AM -0500 David T-G wrote: > Matthew, et al -- > ...and then Matthew D. Fuller said... > % I think he actually means 'hostname', not 'uname'; hostname, on any sane > % system, displays the hostname when called with no args, and tries to set
> I agree so far, but ...
> % it (requiring root at THAT point) when it has args. Solaris assumes that
> % you're always trying to set it, even to nothing.
> Really? I've never heard of that.
> nfs5{43} uname -a
> SunOS nfs5 5.8 Generic sun4u sparc
> nfs5{44} id
> uid=1236(dthorbur) gid=1012(u_it)
> nfs5{45} hostname
> nfs5
> nfs5{46}
My mistake. Same here. Solaris doesn't like the '-s' switch for
hostname. So I have to use 'hostname | cut ...' the get the short form.
Rocco
msg26477/pgp00000.pgp
Description: PGP signature
