View the Most Wanted LQ Wiki articles.
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-27-2008, 09:52 AM   #1
LQ Newbie
Registered: Jan 2008
Location: IL
Distribution: f8
Posts: 29

Rep: Reputation: 15
trying to figure this out?

can any one tell me how to read this!
# %users localhost=/sbin/shutdown -h now
im confused!!?

Old 02-27-2008, 09:58 AM   #2
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Raspbian, Debian, Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
That appears to be a line from your /etc/sudoers file.

If the "#" were deleted from that line, it would mean that members of the group "users" [%users] on the local machine, not remotely [localhost] may operate the command to shut down the computer [/sbin/shutdown -h now].
The "#" means that that line is ignored by the program that reads it. It is treated as a comment.

Try looking at the manual for your sudoers file for a better idea.

"man sudoers" typed into a terminal.

Last edited by truthfatal; 02-27-2008 at 09:59 AM.
Old 02-27-2008, 10:04 AM   #3
LQ Newbie
Registered: Jan 2008
Location: IL
Distribution: f8
Posts: 29

Original Poster
Rep: Reputation: 15
I did look there just got more confused but thank you for explaining it in plain english!!!

Dale 504


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
cant figure out megadsonic Linux - Networking 7 12-18-2005 02:19 AM
Cant figure this out. e_larkin Linux - Software 2 07-24-2004 03:50 PM
I can't figure it out NightWolf_NZ Linux - Hardware 1 09-10-2003 10:08 PM
Can anyone figure this out? Nicksan Linux - General 1 08-17-2003 06:15 PM
cant figure this out. Must be m$ wlfdgcrkz Linux - Networking 1 07-16-2003 03:34 PM

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