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-03-2009, 06:48 PM   #16
yzhong
Member
 
Registered: Jun 2007
Location: sydney
Distribution: redhat , ubuntu, centos
Posts: 56

Rep: Reputation: 16

Quote:
Originally Posted by jbottiger View Post
I looked at the existing su file; one of my colleagues suggested commenting out one of the lines (that requires a user to be in the pam_wheel.so file/list). Please find attached to this post "before and after" versions of the pam.d file.

Attachment 85

Attachment 86



I haven't tried the 'sudo su' or 'vi sudo' commands (is that what the latter command was)?

Thanks.
by default the following should be commenting out in the system
#auth required pam_wheel.so use_uid
 
Old 02-04-2009, 02:58 AM   #17
ozminh
Member
 
Registered: Aug 2007
Posts: 73

Rep: Reputation: 19
you can change the required group.
if not, change you group.

the sudo config file cannot be modified with 'vi' or 'emacs'... you must use 'visudo' (not 'vi sudo', not ....)
 
Old 02-06-2009, 10:28 AM   #18
jbottiger
LQ Newbie
 
Registered: Oct 2008
Location: Central FL
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jbottiger View Post
I looked at the existing su file; one of my colleagues suggested commenting out one of the lines (that requires a user to be in the pam_wheel.so file/list). Please find attached to this post "before and after" versions of the pam.d file.

Attachment 85

Attachment 86


I uncommented the line stating:

auth sufficient pam_wheel.so trust use_uid

leaving the comments around the line:

auth required pam_wheel.so use_uid

Doing so, when I try to "su", I get the following message:

su cannot setgroups: Operation not permitted
 
  


Reply

Tags
rhel


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
Delete/move/copy files of specific date imsajjadali Red Hat 26 11-08-2013 12:34 AM
can't copy files from root rbees Linux - Newbie 12 02-22-2008 05:22 PM
On NFS, non-root users can move/rename files belonging to root. Stuart Morrow Linux - Server 2 11-05-2007 12:12 PM
can't successfully copy dvds 5matyb5 Linux - General 1 09-20-2006 05:26 PM
how to move and copy files.... JMK Linux - Newbie 3 01-22-2004 05:57 PM

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

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