Displaying 20 results from an estimated 5000 matches similar to: "puppet permissons"
2013 Jan 20
3
(New To Puppet)Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class sudo for pupclient on node pupclient
Hello Folks!
I am trying to learn puppet. Installed the puppet 3.0.2 and configured one
node as the master and the other as the client. Generated the certs and all
that. But, I seem to be doing something wrong wrt to the init.pp file.
Attached is exact error and my current server configuration. Any help in
helping me fix this issue is appreciated:
*[root@pupclient ~]# puppet agent --test*
2010 Oct 19
14
client won't use remote file bucket
Hi all,
I''m having a stupid moment getting a remote file bucket working. My
client only file buckets locally, not remotely.
I have this site.pp:
*********
filebucket { "main": server => "puppet" }
File { backup => "main" }
node ''default'' {
include test
}
*********
and this test module:
*********
class test {
file {
2011 Jun 27
12
Ruby script to download files without 'puppet agent'
We have often the Problem that some files need to be checked for updates
faster than the cycle of the puppet agent. I try to solve this with a
script which tries to download the files directly from the fileserver of
the puppetmaster. So far i couldn''t get it to work.
I don''t know if i got the URL right, i did not find any examples on the
REST API documentation for the
2011 Jun 21
2
Puppet agent problem on Ubuntu
I''m in the process of setting up puppet and experiencing some issues.
I''m running Ubuntu 11.04 desktop and server in two seperate VM''s. I''ve
installed puppet master (2.6.4) and puppet (2.6.4). The puppet master
and agent are happily working together.
I''m running the example in the book Pro Puppet. This is the first
example;
Code:
class sudo {
2014 Jul 02
1
sssd_sudo search results different from command line ldapsearch
Hi all! I'm attempting to configure sudo rights from Samba ldap. Alas,
libsssd_samba receives 0 rules and config doesn't work. I think I have
the problem identified here but I don't understand why. The way
sssd_sudo searches for sudoers leave all important attributes out and
of course filtering then fails. Can you help me to understand why
following search results are so different (and
2014 Jul 03
1
How to manipulate ldap access rights on Samba 4?
Hi,
I'm having hard time getting sssd_sudo to work: when sssd_sudo
accesses Samba ldap with host principal 'dc1$@teemu.local' it can't
read necessary attributes like objectclass: sudoRole. When accessing
as Administrator all attributes are shown. How can I enable other
users then Administrator to access sudoers' attributes? Below is an
example.
[root at dc1 var]# kinit
2013 Jul 17
3
sudo add user script
Hello list,
I took another stab at finding a way to add a sudo user remotely and it
gets you most of the way there. If you execute the script as root it works
beautifully and does just what you want. Which is add the user to the
group and gives that user group rights to certain commands.
But if you execute it as a user who only has sudo access to the
/etc/sudoers file it errors out.
cloud:~]
2013 Jul 18
1
if /else in expect script
I took your suggestion and turned my (ill advised) sudoers bash script
into an expect script! It works a lot better this way and is more secure.
Because I'm not trying to store a password in a script (which I recognize
as a bad idea anyway, I I think I've learned my lesson here).
It really works well. But the only thing I'm still trying to figure out is
how to put a if statement in
2007 Oct 18
3
verify before deploy
so I have this sudo module that I''ve been working on:
class auth::sudo {
package { sudo: ensure => installed }
file { sudo_config:
name => "/tmp/sudoers",
owner => "root",
group => "root",
mode => 0440,
notify => Exec["sudoers-syntax"],
source => [
2005 Mar 09
4
How to get standard deviation of rows in a matrix
Hi all,
I am trying to find sd of my rows in a matrix and i get column sd inspite of extracting rows.
I tried to do the sqrt(var(x)) but that did'nt work as well,
Here is my data
genes
15 24 63 40
25 42 46 35
23 53 37 45
30 37 50 55
40 51 30 48
x<-sd(genes[1:5,])
y<-sqrt(var(genes[1:5,]))
I get 4 sds for the 4 columns instead of 5 sds for my 5 rows.
Thanks you in advance.
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
2023 Nov 24
1
Sudoers in Samba LDAP
Hi,
I have a DC on samba 4.17.12
I want store sudoers in LDAP, and use sssd for get rules from LDAP.
I was configured sssd.conf
[sssd]
config_file_version = 2
services = nss, pam, sudo
user = _sssd
domains = TEST.ALT
[nss]
[sudo]
[pam]
[domain/TEST.TLD]
dyndns_update = true
id_provider = ad
auth_provider = ad
chpass_provider = ad
access_provider = ad
default_shell = /bin/bash
2009 Oct 20
11
Stuck with puppet
Hello a newbie here.
The situation is that:
2 machine one master one client
Puppet 0.24.5
This my configuration:
Client:
/etc/puppet/puppetd.conf
[puppetd]
server = Asus-Vista-Box
logdir = /var/log/puppet
vardir = /var/lib/puppet
rundir = /var/run
master
/etc/puppet/manifests/classes/sudo.pp
class sudo {
file { "/etc/sudoers":
owner => "root",
2023 Nov 24
1
Sudoers in Samba LDAP
On Fri, 24 Nov 2023 13:30:13 +0500
Anton Shevtsov via samba <samba at lists.samba.org> wrote:
> Hi,
>
> I have a DC on samba 4.17.12
>
> I want store sudoers in LDAP, and use sssd for get rules from LDAP.
>
> I was configured sssd.conf
>
> [sssd]
> config_file_version = 2
> services = nss, pam, sudo
> user = _sssd
> domains = TEST.ALT
>
>
2015 Nov 02
2
use pssh to restart a service
Hey Gordon,
Sorry, man my bad! Disabling the tty requirement for my sudo user does
indeed work. I had a type-o in the sudoers file, and when I corrected it,
my sudo command via pssh started working!
#pssh -i -h es_list "/bin/sudo /bin/systemctl restart elasticsearch; sleep
10"
[1] 20:31:32 [SUCCESS] bluethundr at es3.jokefire.com
Stderr: sudo: sorry, you must have a tty to run sudo
2010 Oct 07
1
ldif invalid per syntax
Hello CentOS
I am having a bit of trouble importing an ldif into openldap, tho the
syntax looks a-ok to me. I am attempting to import my sudoers list
into my ldap configuration and I used an application called sudoers2ldif
to generate the ldif.
I used the following command to import the file:
=============================================
[root at bluethundr-desktop:~/txt/ldif ] $:ldapadd -h
2023 Nov 24
1
Sudoers in Samba LDAP
24.11.2023 14:57, Rowland Penny via samba ?????:
> On Fri, 24 Nov 2023 13:30:13 +0500
> Anton Shevtsov via samba<samba at lists.samba.org> wrote:
>
>> Hi,
>>
>> I have a DC on samba 4.17.12
>>
>> I want store sudoers in LDAP, and use sssd for get rules from LDAP.
>>
>> I was configured sssd.conf
>>
>> [sssd]
>>
2011 Aug 05
5
Variable scope when having node inheritance
Hi
I''m having some trouble with the following setup:
node ''serverA'' inherits server-defaults {
include myApp::install
}
node ''server-defaults'' inherits default {
$sudoenv = ''custom_server''
}
node default {
$sudoenv = ''default''
include sudoers::config
}
class sudoers::config {
file {
2005 Dec 10
6
Wierd ZFS interaction with sudo?
I''ve just installed express b28 on my system. After installing, I
decided to move /opt to a zfs pool home/opt. After installing
Blastwave''s latest sudo, I did my usual edits of sudoers.
When I attempted to execute sudo ls to test things I got this:
rtfm:/opt/csw/etc:>sudo ls
sudo: /opt/csw/etc/sudoers is owned by gid 1, should be 0
But /opt/csw/etc/sudoers permissions
2013 Oct 15
6
hiera_array, structured data and multiple levels of hierarchy
Hi all!
I''m trying to setup a puppet module for sudo that will write multiple files
with separate data for each file, all dependent on the hiera hierarchy.
Here''s the relevant portion of my hiera.yaml:
> :hierarchy:
>
> - "datacenter/app/role/node/%{::clientcert}"
>
> - "datacenter/app/role/%{::server_role}"
>
> -