Hot answers tagged

2

The usermod command wont work if you're logged in with the user you are trying to make changes on. From the manual page on usermod it says: CAVEATS usermod will not allow you to change the name of a user who is logged in. You must make certain that the named user is not executing any processes when this command is being executed if the user's ...


1

change the document root in /etc/httpd/conf/httpd.conf


1

You need to edit the /etc/passwd file to change home directory of users that are currently logged in. Edit the /etc/passwd with sudo vipw and change home directory of the user. vipw highly recommended other than vim or other editors since vipw will set lock to prevent any data corruption.


1

If you want to move it from daily to monthly run, you need to use mv and not cp as otherwise you would simply add a monthly run. sudo mv /etc/cron.daily/0yum-cron /etc/cron.monthly/0yum-cron should do what you're asking for.


1

Here's what I would do. So, you can SSH to the server (let's call it server, from your machine; let's call it workstation. Set up an HTTP Proxy like Squid on workstation, listening on localhost:8080. From workstation, open a reverse SSH tunnel to server: ssh -R 8080:localhost:8080 user@server Configure yum on server to use localhost:8080 as a proxy. yum ...


1

The outputs of du and df don't line up in terms of used disk; search for deleted files that are being written to. Stop (restart) the process writing to the file(s), or reboot the box. lsof | awk '/deleted/ && $5 ~ /w/'


1

This could be ganged-mode RAM operation (see here: http://www.tomshardware.com/forum/278881-30-what-ganged-unganged-mode). Check in your BIOS that the memory slots are properly detected and not ganged. dmidecode or dmidecode -t shows you how Fedora sees the RAM.


1

Thanks for the detailed explanation maxschlepzig, but your proposed fix isn't correct. It would result in comdir being set to /usr/share/bash-completion when bash-completion is installed. Files from there aren't loaded, they have to be in /usr/share/bash-completion/completions. That would break being able to consistently use %{compdir} as an install ...



Only top voted, non community-wiki answers of a minimum length are eligible