Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
11-10-2005, 01:33 PM
|
#1
|
Member
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152
Rep:
|
Can't SU?! :S
when i "su" i get the following output, and i know the right password.. how do i fix this?
i think its a config-thing that needs to me edited a little, but i dont know what file or where..
magnus@lnex ~ $ su
Password:
su: Permission denied
Sorry.
help would be preciated! =)
|
|
|
11-10-2005, 01:34 PM
|
#2
|
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107
Rep:
|
Is the keymap the same as for root?
Does /bin/su have the suid bit set? -rwsr-xr-x 1 root root 23368 Nov 1 14:10 /bin/su
|
|
|
11-10-2005, 01:51 PM
|
#3
|
Member
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Rep:
|
add your user to the wheel group
|
|
|
11-10-2005, 01:52 PM
|
#4
|
Member
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152
Original Poster
Rep:
|
same keymap yes.
i dont know about the /bin/su, when i try to enter it, it says permission denied.
|
|
|
11-10-2005, 02:03 PM
|
#5
|
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107
Rep:
|
If FC uses wheel, do what mimithebrain said.
|
|
|
11-10-2005, 02:07 PM
|
#6
|
Member
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117
Rep:
|
try su - root, instide su alone.
beacuse it loads environnement from root
|
|
|
11-10-2005, 02:13 PM
|
#7
|
Member
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152
Original Poster
Rep:
|
im sorry your making me confused.
what should i do?
sorry for not mentioning it but i use Gentoo not FC
|
|
|
11-10-2005, 02:16 PM
|
#8
|
Member
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345
Rep:
|
Gentoo uses the wheel group for su.
Add yourself to that group and you'll be all set.
|
|
|
11-10-2005, 02:18 PM
|
#9
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
On most Linux and BSD systems you need to add yourself to the wheel group if you want to be able to switch to root. Someone has already mentioned this, so did you try it?
|
|
|
11-10-2005, 02:38 PM
|
#10
|
Member
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152
Original Poster
Rep:
|
"add to wheel group" that didnt make any sence to me untill i found something about it on google, i will now try the gpasswd function. thx for the help
|
|
|
11-10-2005, 02:46 PM
|
#11
|
Member
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152
Original Poster
Rep:
|
it worked successfuly, thx for your help everyone
|
|
|
11-10-2005, 04:57 PM
|
#12
|
Member
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Rep:
|
Hehe,
Happy it works, I'm a first time gentoo user too . 
|
|
|
All times are GMT -5. The time now is 11:30 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|