646 reputation
35
bio website linkedin.com/in/lsdillon
location
age 45
visits member for 3 years, 2 months
seen 2 days ago

RHCE, Puppet Certified Professional


Jun
27
answered tmpfs - auto create whole path when write to file
Jun
25
comment restrict ssh access to host using sssd and LDAP
We are using hbac rules rather than ldap_access_filter to govern access to hosts. It makes it easier to manage than having to update sssd.conf anytime your access policy changes. Also allows you to filter access on specific services.
Jun
17
answered /etc/passwd shows user in a group, but /etc/group does not
Jun
17
comment Script SSH to router and “enable” and run commands
The following search brought up a lot of results for expect examples with cisco: google.com/#q=expect+cisco+ssh+example
Jun
17
answered Script SSH to router and “enable” and run commands
Apr
21
awarded  Yearling
Jun
17
comment Mount CIFS share with autofs
Have the mounts go to /net, say, and have symbolic links from /test to /net/server/test (or whatever). Now whenever you cd to /net and ls or whatever, it will mount.
May
30
comment Text only nagios page
This might be what you are looking for. I haven't tested it, though: https://github.com/shiziwen/nagios-status2txt/blob/master/status-txt.c
May
30
comment Text only nagios page
It still is in html with tables and such, though.
May
30
answered Text only nagios page
May
20
comment “eth0” card broken and replaced => ClearCase installation becomes obsolete
As @NickW said above, you can change the mac address by setting MACADDR in /etc/sysconfig/network-scripts/ifcfg-eth0.
May
8
answered Change config file by puppet - depend hostname
May
2
comment Extending Puppet (probably with augeas) for custom configuration format
run augtool and try the commands by hand, error messages are listed under match /augeas//error: github.com/hercules-team/augeas/wiki/Tracking-down-errors
May
1
comment Extending Puppet (probably with augeas) for custom configuration format
Ah, ok. Shellvars is simple X=foo, SUPERACCESS above would just be set with a string, not a list. In order to have multiple whitespace separated strings in the quoted list, you would need to add the quotes manually in your augeas string.
May
1
answered Extending Puppet (probably with augeas) for custom configuration format
Apr
21
awarded  Yearling
Mar
14
comment What for is /etc/resolv.conf needed in newest Centos and Fedora?
Right, as @Dave said, /etc/resolv.conf is needed, it is just generated dynamically from the interface config files.
Mar
12
comment What's a secure alternative to using a MySQL password on the command line?
You just specify the file as an option to --defaults-file as in: mysql --defaults-file c:\some\dirs\my.cnf
Mar
6
answered Perl regex expression
Mar
1
comment rm intermittently causes disk to lock up
Could also use find to batch of file deletions, and do rm -rf afterwards: find . -type f -print0|xargs -n50 -0 rm -f. That might split it up a bit.