On Wed, Mar 27, 2002 at 06:49:32AM -0600, Matthew D. Fuller wrote: > On Wed, Mar 27, 2002 at 09:08:50AM +0000 I heard the voice of > Dave Smith, and lo! it spake thus: > > On Tue, Mar 26, 2002 at 08:31:07PM +0100, [EMAIL PROTECTED] wrote: > > > > > Just logged into a solaris box. Having set my prompt to 'user@machine' > > > it says that only root may run 'uname'. My response: 'exit'. > > > > That could just be a local configuration issue. > > tabby(21)% uname -a > > SunOS tabby 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-5_10 > > 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 > it (requiring root at THAT point) when it has args. Solaris assumes that > you're always trying to set it, even to nothing. > Well on my Solaris box entering 'hostname' with no arguments returns the host name with no problems, and I'm not root.
-- Chris Green ([EMAIL PROTECTED]) Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED] WWW: http://www.isbd.co.uk/