Displaying 20 results from an estimated 2000 matches similar to: "change sudoers remotely"
2010 Nov 19
6
augeas / sudoers
Hello everybody!
How can i create with puppet following sudoers file:
User_Alias CENTREON=apache,nagios
CENTREON ALL = NOPASSWD: /etc/init.d/nagios* restart
CENTREON ALL = NOPASSWD: /etc/init.d/nagios* reload
CENTREON ALL = NOPASSWD: /usr/bin/nagios* -v *
The problem that augeas create only last line, replacing previous one.
--
You received this message because you are subscribed to
2008 Sep 18
1
using NOPASSWD in sudoers
Hello Everyone,
I am trying to change our /etc/sudoers (using visudo) to allow 2
commands to be run as root without a password, but it isn't working.
Here is the part of the sudoers file that is in question.
# User alias specification
User_Alias FULLACCESS = doug, scott
# members of the FULLACCESS User_Alias may run chown and chmod without
a password
FULLACCESS ALL = (root) NOPASSWD:
2008 Jul 09
2
sudoers
Hi,
I need to run /bin/mount and /sbin/mount.cifs commands as nobody user
(it has (bin/bash shell).
So, I've edited /etc/sudoers and added:
Cmnd_Alias CMD_MOUNT = /bin/mount
Cmnd_Alias CMD_CIFS ) = /sbin/mount.cifs
nobody ALL = NOPASSWD: CMD_MOUNT
nobody ALL = NOPASSWD: CMD_CIFS
But when I run the command as nobody (in the shell), I get the error:
"mount
2015 Jun 10
1
sudoers
My experience with RHEL and CentOS is quite limited, andwould classify me as novice.? I have been running CentOS 6for a little over a year and recently brought up a CentOS 7system as a virtual machine under Windows 7.
One of the first things I usually do after installation isedit the /etc/sudoers file using visudo to give a specificuser or specific users privileges as indicated in the fileexcerpt
2014 Oct 01
3
gpg can't decrypt message
Hey guys,
Having a little gpg issue I was wondering if someone could help me with.
A friend of mine sent me an encrypted message. So I searched online and
found a a set of keys that correspond with his email address. And imported
them. But when I go to decrypt the message, this is what I get:
[root at ops:~] #gpg --decrypt roger-message
gpg: encrypted with 2048-bit RSA key, ID 9617EA5C,
2012 Jan 25
3
Having problems with sudoers
I've got a Cento 6.2 server I'm putting together that will become a
mailserver. It will have on it MailScanner and MailWatch for
MailScanner. I'm using the latest stuff available and have run into a
problem with changes I need to make in the /etc/sudoers file. It doesn't
seem to take affect after I make the changes, so either the syntax
within the file has changed or the way
2009 Mar 04
17
Community: How to deal with attempts at sabotage
Hi all,
The underlying assumption of membership in any community is that your
participation is at worst neutral, and if possible positive.
Communities, online or off, generally do what they can to protect
themselves from detrimental influences, which is where policies,
politeness, moderators, and all that come into play.
Puppet''s community has been both fortunate and awesome,
2009 Nov 03
10
Spacewalk or Puppet?
I am a little new to managing large numbers of CentOS/RHEL servers and was wondering what you experienced sysadmins prefer, Spacewalk or Puppet?
Thanks,
Dan Burkland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20091103/de975d32/attachment-0004.html>
2016 May 12
2
Suggestions for Config Management Tool
On 12/05/16 10:21, James Hogarth wrote:
> On 12 May 2016 at 08:22, G?tz Reinicke - IT Koordinator <
> goetz.reinicke at filmakademie.de> wrote:
>
>> Hi,
>>
>> we see a growing need for a better Configuration management for our
>> servers.
>>
>> Are there any known good resources for a comparison of e.g. Puppet,
>> Chef, Ansible etc?
2016 Nov 07
3
How to start a script to complete configuration
Hi,
We have a virtual environment based on XenServer. In this environment I
defined a template for CentOS 7 servers.
I would like to start a script a boot time to complete the configuration of
new VMs based on this template. How can I have a script started before any
login prompt to ask question to the user to complete the configuration such
as hostname, IP address, etc?
Thanks,
Bernard
2009 Jan 27
6
Stoking a Religious War: Why Did You Go With Puppet Over Other Options?
Hi, Gang..
The Subject: line says it all. My organisation is looking at
selecting a configuration management
system. Any comments about why you chose Puppet over other options
would be very helpful to us.
Cheers,
Tomcat
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this
2013 Feb 27
3
an rsync question
Is there any way to have rsync compare against a file with a *different*
name?
What I'd like to do is compare a vm - whatsit.img against a backup -
whatsit.current, that's a symlink to whatsit.timestamp, and if different,
*then* make the copy (which my script will then move to
whatsit.newtimestamp, and change the symlink to point to the new one, then
remove the old (or maybe save an older
2009 Sep 14
4
LF examples - using site-specific RPMs for config
Hey folks,
A week or two ago someone mentioned something about using their own
home-grown RPMs for managing config info on their boxes.
I really like this idea and would like to learn more about it. Are
there some examples out there?
I have lots of custom config info and think this would be an ideal way
to manage it. Others mentioned puppet and CF engine which probably
have their merits as
2016 Nov 08
1
How to start a script to complete configuration
It would be hard to use ansible, cfengine or whatever while there no IP
address on the new VM.....
On Tue, Nov 8, 2016 at 10:47 AM, <cpolish at surewest.net> wrote:
> On 2016-11-07 14:35, Bernard Fay wrote:
> > Hi,
> >
> > We have a virtual environment based on XenServer. In this environment I
> > defined a template for CentOS 7 servers.
> >
> > I
2016 Nov 08
2
How to start a script to complete configuration
Am 08.11.2016 um 16:47 schrieb cpolish at surewest.net:
> On 2016-11-07 14:35, Bernard Fay wrote:
>> Hi,
>>
>> We have a virtual environment based on XenServer. In this environment I
>> defined a template for CentOS 7 servers.
>>
>> I would like to start a script a boot time to complete the configuration of
>> new VMs based on this template. How can I
2010 Jun 30
7
augeas and sudo woes
The following function is based on code I found here in an earlier
thread.
define sudoer() {
augeas { "sudo${name}":
context => "/files/etc/sudoers",
changes => [
"set spec[last() + 1]/user ${name}",
"set spec[last()]/host_group/host ALL",
"set spec[last()]/host_group/command NOPASSWD: ALL",
"set
2011 Jul 25
3
Sudo #includedir function ignored CentOS 6
I am unable to get the #includedir function to work with sudo. This works
just fine on all my CentOS 5.6 servers, but on 6 it is being ignored. I
have this line in the file /etc/sudoers.d/zabbix-puppet
zabbix ALL=NOPASSWD: /var/lib/zabbix/bin/start_puppet
However sudo still requires a password. If I put that same line into
/etc/sudoers file , there is no password prompt. At the end of my
2006 Nov 02
4
Running asterisk with 'sudo'
Hi guys,
I'm using RedHat and am trying to configure my sudo to enable user
'testuser' to run Asterisk. However whenever I try to run 'sudo
asterisk' as 'testuser' I get prompted for password.
This is the line in my sudoers configuration file that I thought should
do the trick, but it doesn't:
testuser ALL=NOPASSWD: /usr/sbin/asterisk
Does anyone know how to
2015 Jan 21
1
Kickstarting several *different* setups
Ansible, Bcfg2, Chef, Cobbler, Puppet, and Salt; I notice that
Spacewalk is not mentioned. Any particular reason that it gets no
recommendations?
What about CFEngine? Any comments on this one?
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive
2010 Feb 04
4
Configuration Management Redux (was: best parallel / cluster SSH)
On Thu, Feb 4, 2010 at 2:03 PM, Les Mikesell <lesmikesell at gmail.com> wrote:
> But, if someone ever gets cross-platform config management right or at
> least close enough that it is worth learning yet another description
> language I'd be very interested. ?Cfengine v3 might be getting there but
> the windows version seems to be only available in the commercial build.
OK,