SCIENTIFIC-LINUX-USERS Archives

April 2010

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tim Edwards <[log in to unmask]>
Reply To:
Tim Edwards <[log in to unmask]>
Date:
Thu, 29 Apr 2010 08:40:16 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
On 29/04/10 07:53, vivek chal wrote:
> hi all,
> 
> i have a user account named globus and i want to give it all the
> administrative privileges 
> 
> 
> 
> What is the command to do it.

As root run 'visudo' and add a line like this:
globus     ALL=(ALL)  NOPASSWD: ALL

This will give globus the ability to run any command as root by putting
sudo before it, without being prompted for his/her own password, eg.:
sudo service something restart

Tim

ATOM RSS1 RSS2