LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-27-2005, 10:56 PM   #1
dauphinfay
Member
 
Registered: Jan 2004
Location: Earth
Distribution: Ubuntu
Posts: 301

Rep: Reputation: 30
Can't gain new ROOT access


unfortunately i think i need to speak up here. at the moment, i cannot gain root access in a new window. however, i do have root access via two aterm windows still open. it's just that i can't open any new terminals and su. it states that permission is denied... as if the passwd was bad. however, i can change the passwd via one of the still current su sessions and it tells me that the passwd is updated. however, upon attempting to su again....same results. permission denied. has anyone got any ideas here?


im running gentoo 2.6.11 r3 on a thinkpad t21. at the time i first noticed this problem i was emerging gdm just after i changed the permissions of /dev/hdc so that a user could use xine to access a dvd.
 
Old 07-27-2005, 11:15 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
If you switch to one of the ttys with CTRL+ALT+F[1-6] can you lgin as root directly? You should check and make sure that the passwd and shadow files are laid out correctly and that your su executable has the correct permissions (4755 or 4750, just be sure the SETUID bit is set).
 
Old 07-27-2005, 11:32 PM   #3
dauphinfay
Member
 
Registered: Jan 2004
Location: Earth
Distribution: Ubuntu
Posts: 301

Original Poster
Rep: Reputation: 30
i actually rebooted. in doing so i have learned that i can in fact login as root. however, there is no further su capability for my user account. there was before and im not sure what's changed.

unfortunately, im am quite lost with everything else you mentioned. could you please elaborate? where would i find the su executable in order to check it?
 
Old 07-28-2005, 12:38 AM   #4
dauphinfay
Member
 
Registered: Jan 2004
Location: Earth
Distribution: Ubuntu
Posts: 301

Original Poster
Rep: Reputation: 30
ok the issue is resolved. apparently all i needed to do was add the user to the wheel group in /etc/group. everything seems to be normal now...with the added bonus of being able to mount and umount cdrom. thank you btmiller
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to gain **write-access** to windows xp files? sairam9 Linux - Newbie 3 07-14-2005 09:09 AM
How to gain access internal LAN Using OpenVPN? ltam68 Linux - Networking 2 06-23-2005 08:32 PM
Gain root access to user longnam Slackware 5 03-29-2005 11:43 AM
Shell scripts: gain root access - how? ludeKing Programming 16 09-02-2004 10:35 PM
iptables, clients only gain access to a few domain dnla Linux - Networking 5 09-26-2003 09:12 AM

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

All times are GMT -5. The time now is 08:57 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