permission denied on everything involving su and sudo.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
permission denied on everything involving su and sudo.
Hi,
Im using fedora 10 on a g4 mac. Im having some very frustrating problems.
1st- i can no longer use the command "su" when i try it ask for my password i enter it correctly and then it says /var/log: permission denied.
Something goes when i enter "gpasswd" or even try to enter chmod command to change permission.
2nd- i can't use sudo because i cant add my username funkymonkey to sudoers because when i try i get to add it i get denied permission. Ive tried everything i can think of. Im still fairly new to this so i tried everything ive learned so far. So can aybody with so experience please help me
I tried ls -l/var it says it doesn't recognize command. Yea i know its out to date but its all I have. Cant really get anything else built it from scratch and until im able to update my os just trying to keep it going. Pretty much im trying to put my username in the sudoers so i can use sudo. Because fedora 10 sucks so bad they dont let you log onto root its self. You have to use su or sudo.
the way you used the command its should say not recognised... ls -l /var the correct way.
Quote:
Because fedora 10 sucks so bad they dont let you log onto root its self. You have to use su or sudo.
linux Distros since a long time has this feature, it is beacuse of PAM authentication they use and therefore GUI login to root is disabled however you can login via terminal.
so if disable PAM authentication where it says something like " !root silent" you have it done.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.