search for: tdunphi

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

Did you mean: tdunphy
2013 Oct 08
3
remote sudo script
Hey 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
2015 Dec 19
2
LDAP create home directories
> > You may also need to restart sssd or nslcd, depending upon which one is > running 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
2015 Dec 19
0
LDAP create home directories
Check /var/log/secure for why the directory is not able to be created. Might be selinux, is that enabled? (sestatus) On Dec 19, 2015 15:40, "Tim Dunphy" <bluethundr at gmail.com> wrote: > > > > You may also need to restart sssd or nslcd, depending upon which one is > > running the backed ldap connection service on the clients. > > > Hmm.. I got a
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
> > Check /var/log/secure for why the directory is not able to be created. > Might be selinux, is that enabled? (sestatus) Good catch! It was indeed SELinux preventing the directory from being created. Disabling it allows that to happen. For instance I just created a new test user in LDAP: #ssh odunphy at ops2.example.com odunphy at ops2.example.com's password: Creating
2014 Mar 02
1
ssh-askpass in bash script
Hey all, I have ssh-askpass installed on Centos 5.7 and I'm trying to find a way to log into the host and not have it ask me to enter in my long / complex passphrase every time I ssh into another host. I've googled for some scripts that you can add to your bash configuration so that you won't have to do that. So I have to end up typing 'eval $(ssh-agent) &&