Grant Configuring SUDO Root Privileges to Regular Users +Problem+
Running FC3
Followed the instructions on this page: http://fedorasolved.org/post-install-solutions/sudo/ So I created the user and added him to Wheel. I edited the sudoers file. When I run sudo whoami I get root which according to the tutorial proves that it is working. Problem is I cannot run sudo lsof -i :80 I get sudo lsof command not found. Can lsof only be run as root? Thanks in advance. |
Try this:
Code:
sudo /path/to/lsof -i :80 Code:
which lsof |
Quote:
[root@linuxtest bazhour]# which lsof /usr/sbin/lsof //NOW BACK TO MY USER [bguzzardi@linuxtest ~]$ sudo /usr/sbin/lsof //prints lsof IT WORKS! I forgot to mention that as root I can run lsof without the path no problem. Anyway thank you very much for your time. |
All times are GMT -5. The time now is 03:40 AM. |