search for: tdunphy

Displaying 6 results from an estimated 6 matches for "tdunphy".

Did you mean: dunphy
2013 Oct 08
3
remote sudo script
...ey guys, I'm trying to write a simple bash script that will cp a configuration file to a backup (with the date) remotely to a bunch of machines, using sudo with ssh. I notice that if I run the commands individually, they both work (albeit with some strange output I'd like to suppress): [tdunphy at MIAGRBISSH01V ~]$ ssh -q -t -t -t MIAGRBIORCA00V sudo -S 'cp -v /data/solr-4.3.1/zoe/etc/logback.xml /tmp/logback.xml-${i}-$(date +%Y%m%d).bak' <<EOF > secret_sauce > EOF tcgetattr: Inappropriate ioctl for device `/data/solr-4.3.1/zoe/etc/logback.xml' -> `/tmp/logback...
2015 Dec 19
2
LDAP create home directories
...the backed ldap connection service on the clients. Hmm.. I got a different result after restarting nclcd. Instead of logging me in and just complaining that it couldn't create the home directory, it still complains about not creating the home directory, but now it doesn't let me in: #ssh tdunphy at ops2.example.com tdunphy at ops2.example.com's password: Creating directory '/home/tdunphy'. Unable to create and initialize directory '/home/tdunphy'. Last login: Sat Dec 19 15:29:54 2015 _ _____ ___ ____ | | ___| / _ \ _ __ ___|___ \ _ |...
2015 Dec 19
0
LDAP create home directories
...the clients. > > > Hmm.. I got a different result after restarting nclcd. Instead of logging > me in and just complaining that it couldn't create the home directory, it > still complains about not creating the home directory, but now it doesn't > let me in: > > #ssh tdunphy at ops2.example.com > > tdunphy at ops2.example.com's password: > > Creating directory '/home/tdunphy'. > > Unable to create and initialize directory '/home/tdunphy'. > > Last login: Sat Dec 19 15:29:54 2015 > > > _ _____ ___ _...
2015 Dec 19
2
LDAP create home directories
Hey guys, I've setup an LDAP server on our network. I'm using OpenLDAP. It was really easy to use the authconfig-tui to generate the nsswitch.conf and ldap.conf files that would allow user authentication. But when users would log in, the system wasn't creating the home directories. I found one command that would correct that: authconfig --enablemkhomedir --update After that
2015 Dec 19
1
LDAP create home directories
...gt; Hmm.. I got a different result after restarting nclcd. Instead of logging > > me in and just complaining that it couldn't create the home directory, it > > still complains about not creating the home directory, but now it doesn't > > let me in: > > > > #ssh tdunphy at ops2.example.com > > > > tdunphy at ops2.example.com's password: > > > > Creating directory '/home/tdunphy'. > > > > Unable to create and initialize directory '/home/tdunphy'. > > > > Last login: Sat Dec 19 15:29:54 2015 > &g...
2014 Mar 02
1
ssh-askpass in bash script
...dev/null || ierr=1 if [ $ierr == "0" ]; then echo > /dev/null else # If not initialize new agent and # add authentication start_agent; fi else start_agent; fi export PATH=$PATH:/home/iloshakov:/home/tdineen/eporter:/home/mrupapara:/home/tdunphy/bin:/home/ashoykhet:/home/tdineen/eporter export PUB='/homeuser/.ssh/id_rsa.pub' I'd appreciate any advice you may have! Thanks Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B