Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-21-2004, 03:30 PM   #1
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
initgroups: Operation not permitted
Old 08-21-2004, 03:38 PM   #2
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


for info on what groups different users are, and edit that file to test...
Old 08-21-2004, 04:05 PM   #3
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
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.


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 > Forums > Linux Forums > Linux - Newbie

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

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