Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-13-2005, 09:48 PM   #1
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177

Rep: Reputation: 30
Deploying sudo to multiple hosts


The company that I work for wants to restrict the number of users who currently have root acess to only those who administer these boxes. As such, sudo is being deployed for those users who need to issue commands as root.

My question is this. Is there a way to deploy a common sudoers file without having to manually create it on each box?
Old 12-13-2005, 10:21 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,041
Blog Entries: 11

Rep: Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907
It's a plain file ... the problem are the permissions. To distribute
it make a local copy into a trusted users home. Then ssh into the
target machine(s), become root, and scp the original into the
target machines /etc, then chmod u+rw,go-rwx /etc/sudoers



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
lighttpd: multiple virtual hosts? neocookie Linux - Software 8 03-27-2006 10:37 PM
/etc/hosts modification crapped out sudo, synaptic, anything requiring admin hexter Ubuntu 1 11-30-2005 11:58 AM
PGP across multiple hosts mr666white Linux - Security 4 08-22-2004 10:14 AM
RH:8 Multiple Hosts Problem ecroswell Linux - Newbie 9 03-17-2003 05:53 AM
multiple virtual hosts iquadri1 Linux - Networking 1 09-25-2001 10:12 AM

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