error "su: permission denied sorry."
alrightyaok ljklkjl;kjlkjlkjsdfdf
alrighty...I've been having problems using the su command on my laptop (running gentoo 1.4f). Everytime I su and return, it prompts for the password (which i type in properly) and then i get a silly little error message saying "permission denied. sorry." Now, i searched the forums and could come up with nothing, other than adding my username into the wheel group (at /etc/group, i believe) and changing permissions. Well, i tried changing permissions, no luck... tweaking got me nothing but the inability to even execute su, so i chmoded back to -x-rx-rx-r or something like that. I also tried adding my user to /etc/group. I changed the a line from "wheel::10:root" to "wheel::10:root,me (where me is my username)...which did SOMETHING...it changed my error from "permission denied. sorry." to "authentication failure. sorry." So, great...progress? I dunno. Regardless, keep in mind that I am not even doing this through a console program from some windowmanager (although, it does the same thing in eterm through enlightenment) I am using commandline straight up. Root login works fine. User login works fine. su just wont do it's job, though. please help me if possible, thanks. |
What's the output of
Code:
ls -l `which su` Cheers, Tink |
Quote:
Code:
-r-wr-xr-x 1 root root 24304 Oct 26 00:23 /bin/su |
It clarifies that belonging to group wheel
won't do anything for you... Cheers, Tink |
Quote:
su needs the SUID bit set.. so you gotta chmod it correctly.. as root: chmod u+s /bin/su should be solved then.. |
All times are GMT -5. The time now is 10:32 PM. |