LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-21-2004, 03:30 PM   #1
Jskill007
LQ Newbie
 
Registered: Aug 2004
Location: From California, stationed in Germany with the Army, and now Deployed to Iraq until July 2005
Distribution: Slackware 10.2
Posts: 8

Rep: Reputation: 0
su : initgroups: Operation not permitted


Hello I am running Slackware 10. When I am logged in as a normal user and try to use "su" I receive the following error. I have no idea how to fix this. I am entering the correct password, but it still does not alow me to become root.

jskill007@Jskill007:~$ su
Password:
initgroups: Operation not permitted
jskill007@Jskill007:~$
 
Old 08-21-2004, 03:38 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
ok just a guess, but is the user you do this as, in the group that is allowed to su to root? I am not sure which group it is...wheel maybe...check out

/etc/group

for info on what groups different users are, and edit that file to test...
 
Old 08-21-2004, 04:05 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
By default, most Linux distros do not require you to be a member of a particular group to su to root, but perhaps you've turned that on somehow? Do you use PAM on your system (Slackware doesn't by default)? If you are, check out the rules in /etc/pam.d/su and see if there's something there. Another idea: make sure that the SUID bit is set on your su executable, permissions on /bin/su should be -rws--x--x root root.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Operation not permitted jakkals Linux - General 3 09-26-2005 07:30 PM
su - operation not permitted jrtayloriv Linux - Newbie 2 06-09-2005 09:27 PM
su - mysql operation not permitted mjl3434 Slackware 1 02-04-2005 01:52 AM
operation not permitted jamaso Slackware 2 05-08-2004 05:55 AM
Operation not permitted FrozenShadow23 Linux - Newbie 6 10-05-2003 05:13 PM


All times are GMT -5. The time now is 02:26 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration