LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-12-2003, 02:53 AM   #1
gagan_fzks
LQ Newbie
 
Registered: Nov 2003
Location: India
Posts: 5

Rep: Reputation: 0
Wink how to give a user right to shutdown?


I'm working in an office nad so I cannot give root password to anyone in the office. So I have created a user in my linux which has some rights to work on machine. But i don't know how to give that user the right to shutdown or reboot the machine. Would anyone help me in this. thanx in advance.
 
Old 11-12-2003, 04:26 AM   #2
Quis
Member
 
Registered: May 2001
Location: Germany, Süd-Baden
Distribution: Gentoo
Posts: 139

Rep: Reputation: 15
i am not realy sure, but you can try to set the SUID-Bit on shutdown with
chmod +s /sbin/shutdown
 
Old 11-12-2003, 04:57 AM   #3
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
Howzit

in /etc create a file called shutdown.allow place their names in this file, they must use cmd: shutdown -a

chow
 
Old 11-12-2003, 12:29 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
This isn't network related, Moved to Linux General
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I give myself root priv's as a user? Mr. Hill Linux - Newbie 9 06-12-2005 02:19 PM
logout wont give shutdown option etim Linux - Software 9 04-11-2005 04:39 PM
give user SU to access evrything? OverrRyde Mandriva 8 08-05-2004 01:58 PM
Give root priviligies to an user Skululu Red Hat 7 03-06-2004 08:11 AM
how to give a user right to shutdown gagan_fzks Linux - General 4 11-12-2003 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:13 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
Open Source Consulting | Domain Registration