LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-18-2005, 04:24 PM   #1
a10392
Member
 
Registered: Sep 2004
Posts: 30

Rep: Reputation: 15
shutdown permissions


hi,

I have a debian system, and i want to give shutdown permission to some users.

i have changed permissions of shutdown

chmod 774 shutdown

i have create a group, add the users for that group and chgrp group shutdown,

but other users get always

bash: shutdown: command not found

or if i execute /sbin/shutdown

i get you must be root

How can i give shutdown permissions ????


regards
thanks you all
 
Old 01-18-2005, 04:55 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
chmod +s /sbin/halt /sbin/shutdown
 
Old 01-18-2005, 05:28 PM   #3
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Code:
bash: shutdown: command not found
That's because shutdown is not in their path. You can also do this with sudo which I recommend.

-twantrd
 
Old 01-20-2005, 11:58 AM   #4
a10392
Member
 
Registered: Sep 2004
Posts: 30

Original Poster
Rep: Reputation: 15
just to thank you

Regards
MM
 
  


Reply



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
Please help on how to save services shutdown or shutdown from the terminal. wambuzz Linux - General 2 03-11-2005 07:38 AM
Linux full shutdown vs. manual shutdown? LQtoto Linux - General 9 01-26-2005 06:21 PM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 01:00 AM
konsole shutdown possible? or key combo = shutdown possible? Laptop2250 Linux - Newbie 3 11-16-2003 10:44 AM
shutdown permissions elist Linux - General 2 02-01-2002 04:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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