The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Enable sudo for Win AD users authenticated with Linux samba winbind service will_mike Linux 0 06-03-2008 11:38 AM
sudo, or not sudo: that is the question iBot UNIX and Linux RSS News 1 02-07-2008 10:40 AM
Linux: Ready for Prime Time? - Redmondmag.com iBot UNIX and Linux RSS News 0 08-03-2007 12:50 AM
Linux Going Big Time and Prime Time Against Windows, UNIX (WSJ) (Addict 3D) iBot UNIX and Linux RSS News 0 06-21-2007 01:10 PM
C program in Unix / Linux - Time differences chprvkmr High Level Programming 11 09-08-2005 09:46 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-14-2007
Registered User
 

Join Date: Sep 2007
Location: EX-PAT in Taipei, Taiwan
Posts: 105
First time sudo and Linux

We have a linux system at all locations that is not really used interactively. Well the users need to shutdown the box on weekends. to do this they usally call us to shut it down remotely with root. well i just came accross sudo. and i am unsure how to use it
i did
visudo

then i did
%mliu ALL=/sbin/shutdown

I saved it but it said i need to be root to execute the script. did i type something wrong?
Reply With Quote
Forum Sponsor
  #2  
Old 11-14-2007
Registered User
 

Join Date: Nov 2007
Posts: 13
I think you should have a clear idea about sudo before using it. Please go through the URL sudo - Linux Command - Unix Command and do accordingly. If there is any issue, please feel free to discuss farther.
Reply With Quote
  #3  
Old 11-14-2007
Registered User
 

Join Date: Sep 2007
Location: EX-PAT in Taipei, Taiwan
Posts: 105
i got it working thanks
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:56 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0