Visit Jeremy's Blog.
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 02-26-2001, 11:01 PM   #1
LQ Newbie
Registered: Jan 2001
Posts: 21

Rep: Reputation: 15

how do i delete and edit user groups in RH7.0
linuxconf allows for adding.. and says it allows for edit and delete.. but i can't figure out how.. there is no button for it as there is for add.

I need to give permission for shutdown -r now to certain other people.. step by step would be nice. thanks

Old 02-26-2001, 11:57 PM   #2
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Thumbs down

I've always used vi for editing groups.

I assume that you are aware of the security risks of mucking around with suid root.

Check to see whats the group of /sbin/shutdown. In my case it's bin.

Edit the /etc/group file and append the user you want to execute the shutdown command to the line that begins with bin. Seperate them with commas.

Issue the command 'chmod 5754 shutdown' in the /sbin directory. This makes shutdown group executable and set uid root. When a member of the bin group executes the file it is actually executed as the root user (more or less).

There may be other ways to do this, and I'm sure someone else will share thier ideas.

Good Luck



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
groups and permissions g_trueblood Slackware 2 10-07-2005 05:36 AM
File Permissions, X and Groups mikemrh9 Linux - Software 3 09-08-2005 10:10 PM
multiple groups permissions steve007 Linux - Newbie 2 07-01-2005 01:24 PM
/dev permissions and groups in 2.6.9 kersten78 Slackware 2 10-24-2004 07:11 PM
users, groups, and permissions mcd Linux - Newbie 3 05-26-2004 10:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:46 AM.

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