LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

Rep: Reputation: 30
Deploying sudo to multiple hosts


Hello,

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
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,973
Blog Entries: 11

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
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



Cheers,
Tink
 
  


Reply


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 11:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration