LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 11-10-2005, 01:33 PM   #1
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Rep: Reputation: 30
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! =)
 
Old 11-10-2005, 01:34 PM   #2
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
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
 
Old 11-10-2005, 01:51 PM   #3
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
add your user to the wheel group
 
Old 11-10-2005, 01:52 PM   #4
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Original Poster
Rep: Reputation: 30
same keymap yes.
i dont know about the /bin/su, when i try to enter it, it says permission denied.
 
Old 11-10-2005, 02:03 PM   #5
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
If FC uses wheel, do what mimithebrain said.
 
Old 11-10-2005, 02:07 PM   #6
Back_to_Linux
Member
 
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117

Rep: Reputation: 15
try su - root, instide su alone.
beacuse it loads environnement from root
 
Old 11-10-2005, 02:13 PM   #7
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Original Poster
Rep: Reputation: 30
im sorry your making me confused.
what should i do?
sorry for not mentioning it but i use Gentoo not FC
 
Old 11-10-2005, 02:16 PM   #8
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
Gentoo uses the wheel group for su.
Add yourself to that group and you'll be all set.
 
Old 11-10-2005, 02:18 PM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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?
 
Old 11-10-2005, 02:38 PM   #10
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Original Poster
Rep: Reputation: 30
"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
 
Old 11-10-2005, 02:46 PM   #11
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Original Poster
Rep: Reputation: 30
it worked successfuly, thx for your help everyone
 
Old 11-10-2005, 04:57 PM   #12
mimithebrain
Member
 
Registered: Nov 2003
Location: ~
Distribution: Ubuntu 10.04
Posts: 843
Blog Entries: 1

Rep: Reputation: 30
Hehe,

Happy it works, I'm a first time gentoo user too .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration