Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


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

Rep: Reputation: 32

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, 12:12 PM   #17
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Original Poster
Rep: Reputation: 30

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

Old 07-21-2008, 03:12 AM   #18
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

%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, 06:18 AM   #19
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

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

All times are GMT -5. The time now is 03:29 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration