Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Creating a template cache : Slackware or HostGIS Linux

228 bytes added, 17:00, 30 November 2007
Fix permissions and ownerships
mv /etc/ssl/openssl.cnf /tmp ; rm -r /etc/ssl/* ; mv /tmp/openssl.cnf /etc/ssl
# fix file permissionsset an ownership on any unowned files
find / -mount -nouser -exec chown root {} \; &
find / -mount -nogroup -exec chgrp root {} \; &
 
# remove the setuid bit from programs which nobody else should use
# you may want to review this list first, as some folks want their users
# able to edit cronjobs and to change their own passwords, etc.
for i in \
/bin/ping /bin/mount /bin/ping6 /bin/umount /usr/bin/chfn \
do chmod u-s $i ; done
</code> 
== Changes to rc scripts ==
24
edits