Patrick Shanahan wrote:
> * Carlos E. R. <[EMAIL PROTECTED]> [10-22-07 21:36]:
>> I don't understand.
> 
>> A moment ago you said that you got so much output that it scrolls out of 
>> the window, now you say you get "no such command".
> 
>> I don't understand, unless you are typing incorrectly.
> 
>> If you enter "hwinfo" - and of course that you have to use it as root! - 
> 
> no, -rwxr-xr-x  1 root root 30824 2006-05-02 09:33 /usr/sbin/hwinfo
> 
> but it needs to be in his path, /usr/sbin/ normally isn't, or
> explicitly stated as was directed.


If the hwinfo command were setuid root, I'd agree with you. It is executable
by non-root, but that does not give the user running it superuser rights, so
I'd expect some "permission denied" and the like.

So, to be sure, I'd either run it as root, or with sudo.

Joe
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to