1/1/2023 0 Comments Install webmin on slackware![]() ![]() var/log/apache/access_log /var/log/apache/error_log \ var/log/dmesg /var/log/faillog /var/log/lastlog /var/log/wtmp \ var/log/maillog /var/log/spooler /var/log/proftpd.log /var/log/xinetd.log \ var/log/messages /var/log/syslog /var/log/debug /var/log/secure \ # by changing the password for root and user to a ! character. # replace the IP address with _IPADDRESS_ # blow away the network configuration with dummy strings for later replacement When the VE is booted for its first time. Lastly, you'll want to delete or blank out a bunch of files so they start fresh # somewhere in rc.M, add this command: rm -f /etc/mtab ln -s /proc/mounts /etc/mtab # somewhere in rc.6 add this command: touch /reboot OpenVZ emulates rebooting with an external cronjob called vpsreboot and a dummy file called /reboot within the VE, and emulates the /etc/mtab file by pointing it to /proc/mounts So, some small changes are necessary to the rc scripts. usr/libexec/ssh-keysign /usr/libexec/pt_chown /usr/bin/wall /usr/bin/write usr/bin/expiry /usr/bin/newgrp /usr/bin/passwd /usr/bin/gpasswd \ usr/bin/chsh /usr/bin/crontab /usr/bin/chage /usr/bin/traceroute6 /usr/bin/traceroute \ bin/ping /bin/mount /bin/ping6 /bin/umount /usr/bin/chfn \ # able to edit cronjobs and to change their own passwords, etc. # you may want to review this list first, as some folks want their users # remove the setuid bit from programs which nobody else should use Mv /etc/ssl/openssl.cnf /tmp rm -r /etc/ssl/* mv /tmp/openssl.cnf /etc/sslįind / -mount -nouser -exec chown root \
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |