uptime command only works for root user
on my freebsd box the uptime command only works for the root user how can i make it so all users can execute the uptime command
|
What does the following command produce?
Code:
ls -l /usr/bin/uptime |
$ ls -l /usr/bin/uptime
---xr--r-- 2 root wheel 11416 Jan 11 2007 /usr/bin/uptime $ |
I would be a bit suspicious there. Might be a sign of a compromised box, they are not particularly sane permissions. They should be
Code:
-r-xr-xr-x 2 root wheel 11416 Oct 5 2006 /usr/bin/uptime Code:
-r-xr-x--- 2 root wheel 11416 Oct 5 2006 /usr/bin/uptime |
so how do i make that so everyone can run uptime
|
Code:
# chmod 755 /usr/bin/uptime |
ahh kewl thnx for the help that fixed it
|
All times are GMT -5. The time now is 12:03 AM. |