LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Commands do not exist :-s (https://www.linuxquestions.org/questions/fedora-35/commands-do-not-exist-s-421795/)

redice 03-05-2006 05:03 AM

Commands do not exist :-s
 
Hi,

I recently changed the way I can login to my Linux box over SSH by not being able to login as root but using the sudo command when logged in as a normal user.

Now when this was done strangest thing I cant use commands such as

adduser
service

and yet i have used the su command to get root privelages.
Any ideas?

spooon 03-05-2006 05:14 AM

/usr/sbin/adduser
/sbin/service

Many of these paths are not in the non-root user's path (you can get root's environment if you use "su -"); to find their location you can use "whereis ..."

redice 03-05-2006 06:02 AM

Cheers mate!!


All times are GMT -5. The time now is 03:31 PM.