LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-26-2010, 05:14 PM   #1
gda2004
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Rep: Reputation: 0
su: cannot set groups: Operation not permitted


Hi there,
I am having a problem when I try to login as su.I type the command SU and then the password as normal and I get su: cannot set groups: Operation not permitted

I am not sure what could of caused this error and how to fix it could anyone help me

thanks,

gda2004
 
Old 02-26-2010, 05:50 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,984
Blog Entries: 46

Rep: Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204
Hi,

Welcome to LQ!

What happens when you login as a user then issue the command 'su' at the console prompt?

Quote:
excerpt from 'man su';

su - run a shell with substitute user and group IDs
SYNOPSIS
su [OPTION]... [-] [USER [ARG]...]
DESCRIPTION

Change the effective user id and group id to that of USER.

-, -l, --login
make the shell a login shell
-c, --commmand=COMMAND
pass a single COMMAND to the shell with -c
-f, --fast
pass -f to the shell (for csh or tcsh)
-m, --preserve-environment
do not reset environment variables
-p
same as -m
-s, --shell=SHELL
run SHELL if /etc/shells allows it
--help
display this help and exit
--version
output version information and exit

A mere - implies -l. If USER not given, assume root.
Just a few links to aid you to gaining some understanding;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Advanced Bash-Scripting Guide
Linux Home Networking


The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 02-27-2010, 05:43 PM   #3
gda2004
LQ Newbie
 
Registered: Feb 2010
Posts: 10

Original Poster
Rep: Reputation: 0
thanks for the reply I made a mistake by chown from root to admin on /etc/* . this caused it to happen I changed the owner back to root via disc boot and rescue, but that made no diffrence. I was able to sudo but I did not want the hassle of sorting it all out so I upgraded to 12 from 11 and it now works fine, I used my backup drives to back the data up first.

thanks for the response

gda2004
 
  


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
su: cannot set groups: Operation not permitted mfb Linux - Security 11 08-22-2022 04:13 AM
su: cannot set groups: Operation not permitted myretribution79 Linux - Newbie 5 11-22-2009 03:32 AM
Warning: GDB: Failed to set controlling terminal: Operation not permitted dschornack Programming 0 08-04-2009 07:14 PM
SET failed / operation not permitted hattrick Linux - Networking 1 11-30-2008 09:20 PM
Can´t set DMA : HDIO_SET_DMA failed: Operation not permitted tiuz Linux - Hardware 13 03-17-2006 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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