FedoraThis forum is for the discussion of the Fedora Project.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i am using fedora 8.0.....in my fedora i am having one user..thats my name..but when i enter in to my login no commands are working properly...but when i login as root all are working fine......can anyone tell me why it happens...what to do for that?
Commands that are reserved for "root" are usually in directories called "sbin" instead of "bin," and none of those directories are in your PATH so, by default, you cannot access them as yourself. (Remember, Linux is based on UNIX which is a multi-user system desigend to prevent "common" users from messing with the parts of the system that effect every user. Contrast that to the Windows system which is based on a single-user, hobbyist, system with no system security.)
From your post it's clear that some commands are working for you. So, what are you trying to do that's not working? And, did you get any output from the sudo command? (Do a su -c 'cat /etc/sudoers' to see how to configure that file so you can use the sudo command.)
If it was not made clear before, su gives you root power with the user's path. su - (su space dash) gives you root power and root's path. A lot of commands need both root power and root's path. For the most part I just skip su and pretty much use su - exclusively.