38 lines
791 B
Plaintext
38 lines
791 B
Plaintext
|
#!/bin/bash
|
|||
|
#Automatische Generierung von glibc
|
|||
|
#Script Framework - Automatisiertes Erzeugen der Monsum Linux Distribution
|
|||
|
#(c) Rainmaker MultiMedia OHG
|
|||
|
#
|
|||
|
#$Author$
|
|||
|
#$Date$
|
|||
|
#$Revision$
|
|||
|
#
|
|||
|
#$Log$
|
|||
|
#Revision 1.3 2006/08/30 18:32:35 kueller
|
|||
|
#ld.so.conf wird nun in einer 64bit umgebung um die lib64 pfade erweitert
|
|||
|
#
|
|||
|
#Revision 1.2 2001/10/17 18:56:29 kueller
|
|||
|
#Korrekte Berechtigungen f<>r shadow
|
|||
|
#
|
|||
|
#Revision 1.1 2001/10/17 18:09:08 kueller
|
|||
|
#Korrektur der Berechtigungen
|
|||
|
#
|
|||
|
#
|
|||
|
|
|||
|
for i in etc/group \
|
|||
|
etc/hosts \
|
|||
|
etc/nsswitch.* \
|
|||
|
etc/passwd \
|
|||
|
etc/resolv.conf \
|
|||
|
etc/shells \
|
|||
|
etc/timezone; do
|
|||
|
chmod 644 $i
|
|||
|
done
|
|||
|
chmod 755 etc/profile
|
|||
|
chmod 400 etc/shadow
|
|||
|
if [ -d /lib64 ]; then
|
|||
|
echo "/lib64" >>etc/ld.so.conf
|
|||
|
echo "/usr/lib64" >>etc/ld.so.conf
|
|||
|
echo "/usr/local/lib64" >>etc/ld.so.conf
|
|||
|
fi
|