Re: sudo examples

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You just type sudo in front of the command you want to run.

Example sudo ls-la /root would list the files in root's home directory.



On Wed, 2011-10-26 at 16:31 -0700, Steven Barre wrote:
> Hello!
> 
> I understand how to configure sudo, but I don't get how to get 
> real-world use from it. Is it best to write custom scripts for the 
> things that need doing and give sudo access to those scripts?
> 
> Most of what I do as root is done because of file permissions. For 
> example, if I want a user to have access to a conf file but don't want 
> to change the file permissions of the conf file, how can I do this with 
> sudo?
> 
> Do you have any examples of how you use sudo to allow users to do some 
> basic tasks?
> 
> -- 
> =================================================
> Steven Barre
> steven@xxxxxxxxxxxxxxxxxxxxxxxx
> 
> Systems and Support Manager
> Real Estate Webmasters
> ==================================================
> 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux