Displaying 20 results from an estimated 8000 matches similar to: "LDAP authentication using nssov"
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
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 May 01
2
Could not complete SSL handshake to Amazon EC2 host
> This is strange...
> Do you have SSL aktive on both systems? Run nrpr localy without parameters
> (this should return some nrpe stats) and check ldd for libssl.
I don't seem to have that command.
[root at monitor1:~] #find / -name "*nrpr" 2> /dev/null
[root at monitor1:~] #
And that's on either system.
And if I do an ldd on both, this is what I can tell:
2015 May 01
2
Could not complete SSL handshake to Amazon EC2 host
Hi
NRPE: Error receiving data from daemon
Seems as this is not a SSL Problem. Do you have a nagios user account? Cat
/etc/passwd
Am 01.05.2015 18:45 schrieb "Tim Dunphy" <bluethundr at gmail.com>:
> >
> > Oh my mistake. I mean nrpe without parameters. It should say something
> > about SSL/TLS aktiv or so.
> > You could test nrpe without SSL. Use nrpe -n -
2015 Oct 30
2
disable ZTS in php
Yeah Erro, ok you have a point. I'll do that. Thanks!
On Fri, Oct 30, 2015 at 11:40 AM, Eero Volotinen <eero.volotinen at iki.fi>
wrote:
> This is really wrong way to do this. Install yum-utils and use
> yumdownloader --source package-name to get rhel version of package. Then
> modify spec file and recompile.
>
> Eero
> Hey guys,
>
> I'm trying to disable
2015 May 01
2
Could not complete SSL handshake to Amazon EC2 host
Oh my mistake. I mean nrpe without parameters. It should say something
about SSL/TLS aktiv or so.
You could test nrpe without SSL. Use nrpe -n - H host
Am 01.05.2015 13:18 schrieb "Eero Volotinen" <eero.volotinen at iki.fi>:
> well. how about trying default setting and running nrped without xinetd.
>
> --
> Eero
>
> 2015-05-01 14:14 GMT+03:00 Tim Dunphy
2015 Jan 22
2
SELinux permissions for apache
>
> The easiest answer is to edit the Selinux config file. By default it is
> set to enforce, which really locks it down.
> cd /etc/selinux
> edit the config file and change SELUNIX=enforcing to SELUNIX=permissive
> Save the file and restart httpd, you should be fine..
Yeah dude, exactly. Except I actually do want to start using it. I've been
disabling SELINUX forever
2015 Jan 22
2
SELinux permissions for apache
Hey Jeremy,
> Have you tried changing the folder where it's writing into with these
> lables? httpd_sys_content_rw_t or httpd_user_content_rw_t
Adding 'rw' to the command did the trick. I tried httpd_sys_content_rw_t and
that works fine! Thanks for the tip!
Tim
On Thu, Jan 22, 2015 at 1:19 PM, Jeremy Hoel <jthoel at gmail.com> wrote:
> Have you tried changing
2015 Aug 25
6
echo password into bash script
Hey guys,
I'm trying to echo my password into some commands inside of a bash script.
But I think I'm going about it incorrectly.
Here's the top part of my script:
#!/bin/bash
pub="~/.ssh/id_rsa.pub"
dps_pass="my_pass"
ssh="/usr/bin/ssh"
scp="/usr/bin/scp"
for i in 10.10.10.2{5,6}
do
echo "xfring key up"
echo $dps_pass | $scp $PUB
2015 Oct 31
4
use pssh to restart a service
Hi all,
I need to restart a service on a few elasticsearch nodes. I'm trying to do
it with pssh.
I'm getting this error when I try to do that:
pssh -h es_list "/bin/sudo -S /bin/systemctl restart elasticsearch"
[1] 17:01:50 [FAILURE] bluethundr at es2.example.com Exited with error code 1
[2] 17:01:51 [FAILURE] bluethundr at es3.example.com Exited with error code 1
[3]
2015 Oct 15
2
selinux commands fail on low memory box
Hey all,
I have 3 web servers hosted at Digital Ocean that all have the same amount
of memory at 512MB. They're all running CentOS 7.
They are low powered apache servers and don't really need more than that.
All they're doing is serving the web, no database on those hosts at all.
On the first two hosts I seem to have no trouble running SELinux related
commands. It's only on
2013 Feb 16
1
: cheap cloud providors
Try tilaa.nl virtual servers?
16.2.2013 22.40 "Tim Dunphy" <bluethundr at gmail.com> kirjoitti:
> Hey guys,
>
> Apologies in advance if this question is in poor taste. But I've really
> fallen in love with learning about the cassanrdra database. The only
> problem is that it doesn't run very well on an t1.micro instance at amazon
> and the larger sizes
2015 Oct 31
3
use pssh to restart a service
>
> What does the sudo log say?
This is all the secure logs say about the ssh session:
[root at logs:~] #tail -f /var/log/secure
Oct 31 19:15:20 logs sshd[24407]: Accepted publickey for bluethundr from
47.18.111.100 port 47469 ssh2: RSA
ae:62:1f:de:54:89:af:2c:10:16:0e:fd:8d:7e:81:06
Oct 31 19:15:21 logs sshd[24407]: pam_unix(sshd:session): session opened
for user bluethundr by (uid=0)
2015 Oct 31
1
use pssh to restart a service
>
> Have you tried running the command from a conventional login?
> sudo -S
> expects a password from stdin, where is that being supplied?
Yep! That works fine.
#ssh -qt bluethundr at es1.example.com "/bin/sudo -S /bin/systemctl restart
elasticsearch"
#ssh -qt bluethundr at es1.example.com "/bin/echo $?"
0
And the user has 'NOPASSWD' access.
Any
2015 May 10
5
mariadb fails to start under C7
Hey all,
I just unstalled MariaDB version 10 from the mariadb repositories under a
CentOS 7 host.
The install went fine!
[root at nfsdb1 ~]# rpm -qa | grep -i mariadb
MariaDB-common-10.0.19-1.el7.centos.x86_64
MariaDB-server-10.0.19-1.el7.centos.x86_64
MariaDB-client-10.0.19-1.el7.centos.x86_64
MariaDB-shared-10.0.19-1.el7.centos.x86_64
However, when I go to start up the service, I'm
2015 May 10
4
mariadb fails to start under C7
Hi Earl,
>I think I found your problem, you do not have the correct package installed
>[root at c7-db1 ~]# rpm -qa | grep maria
>mariadb-libs-5.5.41-2.el7_0.x86_64
>mariadb-server-5.5.41-2.el7_0.x86_64
>mariadb-5.5.41-2.el7_0.x86_64
>[root at c7-db1 ~]#
>Install the mariadb-x package and you should be able to start the service
Thanks. While I could go with mariadb 5, the
2014 Oct 01
3
gpg can't decrypt message
Hey guys,
Having a little gpg issue I was wondering if someone could help me with.
A friend of mine sent me an encrypted message. So I searched online and
found a a set of keys that correspond with his email address. And imported
them. But when I go to decrypt the message, this is what I get:
[root at ops:~] #gpg --decrypt roger-message
gpg: encrypted with 2048-bit RSA key, ID 9617EA5C,
2015 Jun 08
1
could not insert 'fuse' error on CentOS 7.1
This looka good: https://github.com/juliogonzalez/s3fs-fuse-rpm
Eero
7.6.2015 4.23 ip. "Tim Dunphy" <bluethundr at gmail.com> kirjoitti:
> >
> > Centos 7 base repo contains fuse, use it. it works. handcompiling
> packages
> > to centos is *really* stupid, without proper knowledge..
>
>
> Thanks, you're right. The Centos 7 package works.
>
>
2011 Mar 07
3
yum tries to install a mix of architectures
Hello,
On my centos boxes whenever I try to install packages I get a mix of
packages from the repos that are both i386 and x86_64 in
archictecture:
===============================================================================================================================================================================================================
Package
2015 May 01
5
Could not complete SSL handshake to Amazon EC2 host
Hi Eric,
Thanks for your reply. I do have nrpe running under xinetd on the host I'm
trying to monitor.
And running the nrpe checl locally:
[root at ops:~] #/usr/local/nagios/libexec/check_nrpe -H localhost
NRPE v2.15
[root at ops:~] #grep only_from /etc/xinetd.d/nrpe
only_from = 127.0.0.1 216.120.248.126
And I do have port 5666 open on the security group for this host.