Displaying 20 results from an estimated 300 matches similar to: "Augeas working inconsistently"
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
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
2011 Aug 25
6
manage sudoers with augeas
Hello,
I am trying to use augeas via puppet,
augeas { "mailops":
context => "/files/etc/sudoers",
changes => [
"set spec[user = ''%mail-ops'']/user %mail-ops",
"set spec[user = ''%mail-ops'']/host_group/host ALL",
"set spec[user = ''%mail-ops'']/host_group/command[1] \"/bin/su
2005 Jul 18
0
why $cdr{'CALLERID'} and $cdr{'DNID'} are empty in perl agi connected with asterisk manager
hello perl experts
i am working with "ast-rad-acc.pl" from
http://www.voip-info.org/tiki-index.php?page=PortaOne+Radius+auth
i dont know why $cdr{'DNID'} and $cdr{'CALLERID'}
under 'sub send_acc {' are empty. i m successfully
connected with asterisk manager and when call i hangup
my perl application is getting that all other thing
are ok but i dont know why only
2010 Nov 05
2
rendering Markdown automatically
I made this thing. Some of you may find it useful.
https://github.com/skurfer/RenderMarkdown
I'm using it for documentation at work. It could also be handy if you run Apache on your desktop machine and want to share files (for display purposes only) that way.
--
Rob McBroom
<http://www.skurfer.com/>
2005 Jul 26
3
Can't validate USER@DOMAIN in Runas
I have my XP-Pro machine setup as a member of an Samba-based Domain server.
I usually run as "linda@<localmachine>", but wanted to try running a
program using "RunAs" in the "Home", DOMAIN my machine belongs to. The
runas command says:
RUNAS [ [/noprofile | /profile] [/env] [/netonly] ]
/user:<UserName> program
with Notes:
NOTE: Enter user's
2004 Jun 04
3
syslogd(8) Dropping Privs
I made a quick change to syslogd(8) so that it can drop root
privileges immediately after starting up. It opens up the log
sockets (UNIX and network domains) and writes the PID files
before dropping privs. It drops privs before openning log
files and writing to users. Therefore, you would need to
modify your log file permissions appropriately. As for writing
to users, ttys generally are writeable
2005 Aug 02
0
Validating as different users, domain user mapping to local (not happening?)
This bounced back from "samba@lists.samba.org", I guess
the posting addr is samba@samba.org(?)...
Thierry ITTY a ?crit:
> maybe
> if you access a share on a server as user1 and want to access another share
> on the same server as user2, windows complains that you can't use different
> credentials at the same time (error 1236 ? I think)
---
Yeah, something similar
>
2010 Jul 27
2
Catching failure with templates
So, I’m using templates for the first time and I wanted to test the case where the values used by the template don’t exist. I get an error like this:
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template slapd_replication.erb: Could not find value for ''slapd_consumer_rid'' at /etc/puppet/manifests/experimental/services/ldap.pp:141
2004 Apr 17
0
netlogon runas Administrator problem solved
Hi Sambatistas,
a few days ago there was a discussion, how to force
jobs runas administrator at netlogon.
If you use a default.bat at netlogon this is executed
as the logon user , therefor you are running in rights problems
if you wanna execute job which need admin right like regedit /s .
I found myself in this problem too, pushing
the user to use the logon screensaver as default,
i created a reg
2010 Sep 19
0
A logging/graphing UPS client using rrdtool and UPS::Nut
I finally got around to writing myself a NUT UPS monitoring tool. NUT's
UPS monitoring CGI tools provide a detailed instantaneous view of the
UPS's state at any moment, but provide no history. The attached tool,
upswatch, uses Kiss Gabor's UPS::Nut module and Tobi Oetiker's rrdtool
to provide a graphical history of the major UPS operating parameters via
a web browser.
2011 Jun 02
1
Managing /etc/fstab options with augeas
Hi again,
I''m trying to manage mount options in /etc/fstab with Augeas but can''t
figure out how to add more than one option.
augeas { "/etc/fstab":
context => "/files/etc/fstab",
changes => [
''set *[file = "/tmp"]/opt nosuid'',
2010 Apr 08
3
Puppet commands giving nothing but a stack trace
I suspect this has more to do with Ruby than Puppet, but I know little about Ruby and Google has failed me, so I''m asking here.
I''m finally getting some of our older systems brought into Puppet. I installed it on several this morning without incident, but there are two (more or less identical RHEL 5.3 systems) that throw horrible errors. These systems did not have Puppet or Ruby
2016 Dec 02
0
workaround needed for Security Principals, and SID's mapping bug.
No, i believe that guy is wrong.
MS-DTYP
https://msdn.microsoft.com/en-us/library/cc980032.aspx
NT AUTHORITY\SYSTEM S-1-5-18
NT AUTHORITY\authenticated users S-1-5-11
Etc etc.
Monday i'll have a look again.
Have a nice weeken everybody.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Achim Gottinger
> via
2013 Oct 17
1
Authenticating sudo with ipa.
Hello,
I have set up IPA on a private network and have hit some bumps
configuring sudo access for the clients.
kinit seems to work fine for both client and server, user and root.
When I run sudo on the server I see the following in /var/log/messages:
Oct 17 17:53:52 192-168-0-100 [sssd[krb5_child[29237]]]: Decrypt
integrity check failed
Oct 17 17:53:52 192-168-0-100 [sssd[krb5_child[29237]]]:
2013 Oct 10
2
Augeas XML trouble
Hello everyone,
I am currently trying to add elements to an XML file (a libvirt network
definition) using Puppet (2.7.23)/Augeas (0.10). The XML looks like this:
<network>
<name>virbr0</name>
<uuid>57fdc6e3-cba1-4110-88ef-850f1b71ee39</uuid>
<forward dev=''eth0'' mode=''nat''/>
<bridge
2024 Oct 21
1
sysvol share: access to the security tab
hi all,
I am maybe in the situation described here:
https://wiki.samba.org/index.php/Sysvolreset).
The admins domains groups has indeed a gidNumber and alas I run a
./bin/samba-tool ntacl sysvolcheck
What's more in my situation is that when I access the sysvol from the
windows side (runas /user:administrator computer management -> connect
to server -> system -> shares ->
2024 Oct 21
1
sysvol share: access to the security tab
On Mon, 21 Oct 2024 17:01:36 +0200
Francesco Malvezzi via samba <samba at lists.samba.org> wrote:
> hi all,
>
> I am maybe in the situation described here:
> https://wiki.samba.org/index.php/Sysvolreset).
>
> The admins domains groups has indeed a gidNumber and alas I run a
>
> ./bin/samba-tool ntacl sysvolcheck
>
> What's more in my situation is that
2005 Mar 09
0
Logon Script - edit registry
There is the issue with permissions, but you may use cpau.exe it is like
"runas " but more features, then run it as the local system account.
It works fine, here is an example like I used it.
For the systemaccountpassword enter an empty space....
%windir%\system32\cpau -u localhost\system -p -ex "reg DELETE
HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v Information Update
2005 Nov 12
1
[third try] How to masquerade as Administrator?
My original thread got taken off-topic and seems to not want to get back
on-topic.
Does anybody have any ideas about my question?
Here's the original text of my question. Thanks for any help.
Wine 0.9 installation. I installed Internet Explorer using the manual
procedure in the applications database.
I then changed the version reporting to Windows 2000 using winecfg and then
went to