rhel6
Redis Daemon not creating a PID file
For those experiencing on Debian buster: Editing nano /etc/systemd/system/redis.service and adding this line below redis [Service] ExecStartPost=/bin/sh -c “echo $MAINPID > /var/run/redis/redis.pid” It suppose to look like this: [Service] Type=forking ExecStart=/usr/bin/redis-server /etc/redis/redis.conf ExecStop=/bin/kill -s TERM $MAINPID ExecStartPost=/bin/sh -c “echo $MAINPID > /var/run/redis/redis.pid” PIDFile=/run/redis/redis-server.pid then: sudo systemctl daemon-reload sudo systemctl restart redis.service Check redis.service status: sudo … Read more
RHEL 6.4: Mode 1 channel bonding not failing over
READ. YOUR. CONFIGS. And when that fails… READ. ALL. OUTPUTS. Do you see what’s in ifcfg-bond0? No, do you understand what’s in ifcfg-bond0? What in the world of slippery penguins is miimmon=100? Oh I’m sorry, did you mean miimon=100? Yeah, I think you meant miimon and not miimmon. Also, a big giveaway is that when … Read more
SSSD rejects LDAP login with su: incorrect password
It’s unsatisfying, but su – leopetr4 and ssh leopetr4@my_hostname started working soon after I set the bounty on the question. I spent some time thinking about why that was without coming to a clear conclusion, as it would be bad for it to stop working as suddenly as it started. One change I recall making … Read more
Why is Linux kdump not writing to /var/crash?
A little late to the game but if you need to configure kdump for the future: I think the path directive designates a path from the partition or file system designated. By default this is the root FS. If you have a separate partition in /etc/fstab for /var it will obfuscate the crash directory when … Read more
How can I install git on RHEL 6?
It’s a problem with your YUM repo for the actual distribution… It doesn’t appear as though you have a “base” repository, based on your yum repolist command output. I suppose you could just download it as well… [root@Kitteh ~]# yum repolist Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: xt.lol.net * … Read more
SSH hangs after authentication
There are several things that can cause a hang right after SSH authentication. However most of these will also carry other symptoms (the hang right after an SSH-auth is just the most visible symptom) As Iain mentioned, any user login scripts. ~/.bashrc, ~/.bash_profile, ~/.profile, ~/.kshrc and so forth Too many processes running / restarting. Something … Read more
Anything Close to an NSA Guide for Securing RHEL 6 [closed]
Mike, there are generally a few sources of good guides out there for security hardening. The DISA STIGs The NSA SRGs NIST CIS Benchmarks Vendor guidance SANS Books specific to hardening At my work, we use a combination of the DISA STIGs, along with puppet for Linux. I’d be more likely to say that is … Read more
What is the yum equivalent of dpkg -L?
This functionality is provided by rpm, not yum: rpm -ql [packagename] From the documentation: The general form of an rpm query command is rpm {-q | –query} [PACKAGE_NAME] [query-options] Information selection options: -l, –list List files in package.
TigerVNC + SSH without a VNC Password?
It’s more that SSH and VNC are separate things, and their password requirements are not related to each other. You’re using SSH as the network transport, so you’re authenticating on SSH (password or key, it doesn’t matter). Then you’re hitting the VNC service, which has its own authentication scheme. VNC doesn’t know how you connected … Read more