LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Closed Thread
 
Search this Thread
Old 08-08-2005, 04:29 AM   #16
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 918

Rep: Reputation: 31

Quote:
Originally posted by Nylex
Nice one, thanks. Quick question though: why is it that you have to use visudo to edit the sudoers file, instead of being able to edit the file directly, like you can with fstab for example?
Visudo makes sure that no two admins are editing this file at the same time, preserves the permissions on the file, and performs some syntax checking to make sure you make no fatal mistakes are in the file.
 
Old 08-08-2005, 11:12 AM   #17
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Original Poster
Rep: Reputation: 30
XavierP:

Changing the permissions didn't work for me, because at least in my kernel (2.4.40), you need kernel permissions for those commands.

Thanks!
 
Old 07-21-2008, 02:12 AM   #18
mjalalynia
Member
 
Registered: Jul 2008
Posts: 48

Rep: Reputation: 15
Exclamation shutdown problem

[QUOTE=shotwellj;1788000]To use the xfce shutdown button, you'll need to visudo and add

Code:
%users ALL=(root) NOPASSWD: /usr/libexec/xfsm-shutdown-helper
----------------------------------------------
i can not shutdown my computer from xfce (root).i add "%users ALL=(root) NOPASSWD: /usr/libexec/xfsm-shutdown-helper" to my sudoers file but it doesn't work yet !!
what can i do?
 
Old 07-21-2008, 05:18 AM   #19
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,174
Blog Entries: 4

Rep: Reputation: 428Reputation: 428Reputation: 428Reputation: 428Reputation: 428
Good answer but this thread is almost 2 years old and, as such, dead. I have closed this thread to save it being resurrected further.
 
  


Closed Thread


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
poweroff and shutdown with own user jaakkop Linux - General 6 12-29-2005 10:07 PM
how to poweroff ?? perdesiz Linux - Laptop and Netbook 5 12-29-2004 03:31 AM
poweroff with own user jaakkop Linux - General 2 12-28-2004 07:07 AM
enabling poweroff/reboot for user YBA^[x] Slackware 11 12-13-2004 02:04 AM
giving a user poweroff permission Goatdemon Slackware 7 07-19-2003 06:21 AM


All times are GMT -5. The time now is 12:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration