A server was configured in /var/lib/myslq in the root fs.I added a LVspecifically for mysql.I stopped myql and renamed /var/lib/mysql to/var/lib/mysql.old.I created a new dir /var/lib/mysql and mounted the LVon /var/lib/mysql.I then copied with cp -..
Author : Bernard Fay
Does a fix has already been made in the CenOS RPM repositories for this Samba remote execution code vulnerability, CVE-2017-7494?Th..
Last Thursday I removed users from an LDAP group and today the Linux command groups still shows those users as member of this group. I double checked in the LDAP to make sure the users are really removed and also not part of the local Linux group us..
I try to set up two Match Group directives in sshd_config.I have an LDAP server.All users including admins are part of the LDAPgroup users. The admins users are also part of the LDAP group wheel. For example:[~]groups admin1admin1 : users wheel[~]gro..
I have a CentOS VM with only one disk on a Xenserver.The disk has 2 partitions:/dev/xvda1 -> /boot/dev/xvda2 -> a physical volume for LVMI added 5GB to this disk via Xencenter to extend /dev/xvda2.Usually Ijust have to do pvresize /dev/xvda to have ..
Is there a way to allow a user to execute commands via ssh, for example:ssh user@server ls,but disallow the same user to login on this server with ssh user@server ?Thank..
We have a virtual environment based on XenServer. In this environment Idefined a template for CentOS 7 servers.I would like to start a script a boot time to complete the configuration of new VMs based on this template. How can I have a script star..
I tried to apply a security context on a directory with the following commands:[root@ local]# semanage fcontext -a -t httpd_sys_rw_content_t netdot(/.*)?[root@ local]# restorecon -R netdot/When I list the contexts, it is part of the list….[root@ loca..
I see there is net setdomainsid to define the domains SID.I am rather puzzled with this command.There isnt some kind of algorithm that def..
On CentOS 7, when I execute smbldap-passwd to change password it does change LDAP password but _NOT_ Samba password.This is true while running smbldap-passwd either as a regular user or a root.Any idea what can be wrong on my server?Thank..
Recent Comments