ion ausgehängt.
<code>mkdir home/root
cp -avx root/* home/root
umount root</code>
=== Crypt Device erstellen =... root
mkfs.ext3 /dev/mapper/root
mount /dev/mapper/rootroot
</code>
Dann wird der eben gesicherte Inhalt der ... -Partition zurück kopiert:
<code>cp -avx home/root/* root
rm -fvr home/root
</code>
=== Home-Partition Ver... ist nun der richtige Zeitpunkt. [7]
* Für / (root) benutzt man /dev/mapper/root
* Für /boot benutzt man /dev/sda1
* Für /ho
t/home/bodhi
If you have a /home partition and / root partition do this. I will now assume you know where /home partition and / root partition. Mount your /root partition like this. Replace the appropriate number for where your /root partition is.
<code>sudo mount /dev/sda1 /mnt</code>
Mount your /home par... 5 bob bob 4096 2010-09-03 16:18 ./
drwxr-xr-x 8 rootroot 4096 2010-08-21 18:16 ../
lrwxrwxrwx 1 bob bob ... b bob 28672 2010-12-09 01:12 ./
drwxr-xr-x 8 rootroot 4096 2010-08-21 18:16 ../
-rw-r--r-- 1 bob b
von Shadow-Passwort-Systemen diese in der nur für Root lesbaren Datei »/etc/gshadow« gehalten. Der Aufba... er Gruppen- in die Shadowdatei überträgt:
<code> root@sonne> grpconv</code>
''grpunconv'' schreibt die... und löscht anschließend die Shadowdatei.
<code> root@sonne> grpunconv</code>
Eventuell wird eine Kons... aus und fordert ggf. zu Korrekturen auf:
<code>
root@sonne> '''grpck'''
group uucp: no user uucpfaxro
ner erstellen -> beschrieben, wird die zukünftige Root-Partition verschlüsselt. Anschließend wird das System in die neue Root-Partition kopiert:
# mkdir /cryptroot
# mount....
# cd /
# cp -ax bin etc dev home lib media opt root sbin usr var /cryptroot
USB-Stick vorbereiten
Der USB-Stick soll alles ... eln und die fehlenden Mountpoints anzulegen: # chroot /cryptroot
# mkdir -p /boot /proc /sys /tmp /mnt
# mount -... n sein und das virtuelle Device "/dev/mapper/cryptroot" muss als Root eingebunden werden. Es ist also eine neue initrd
ml))
Ab und zu kann es passieren, dass man sein Root-Passwort für den MySQL-Root vergessen hat. Um einer Neuinstallation von MySQL... ort so setzen
- Öffnen Sie auf dem Server eine Root-Konsole.
- Geben Sie folgenden Befehl ein:
<code>mysqladmin --user=root --password=<altes_pw> password <neues_pw></code>
Wenn man aber nicht mehr als Root reinkommt helfen diese zwei Wege.
-> Siehe quel
ed% full." | mail -s "$dev is low on free space." root # send a warning email to root
fi
done
</code>
or
<code>
#!/bin/bash
system=`ho... he current directory in MB or K. ====
<code>
[root@fedora ~]# du -h
4.0K ./.rhopenoffice1.1/progra... isk space taken by current directory.
<code>
[root@fedora ~]# du -s
768096 .
[root@fedora ~]# du -sh
751M .
[root@fedora ~]#
</code>
==== To get
/bin/busybox sh
set -x
fi
ROOT=`cat /proc/cmdline | sed 's/.*root=// ; s/ .*//'`
#VERSION=`cat /proc/version | ... -f3 -d" "`
mount -t ext2 -o rw,noatime $ROOT /mnt
if [ $? -ne 0 ] ; then
echo Could not mount OS on $ROOT. Starting debugging shell....
/bin/busybo... [ -n "$XANDROSSCAN" ]; then
# exec switch_root /mnt-system /sbin/scanuser.sh
#fi
#
#
).
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list
#
# You may activate the "-R" option to the ... ftp user. This directory is used
# as a secure chroot() jail at times vsftpd does not require filesystem
# access.
secure_chroot_dir=/var/run/vsftpd
#
# This string is the name o
is effectively "squashes" the power of the remote root user to the lowest local user, preventing remote root users from acting as though they were the root user on the local system.
Alternatively, the no_root_squash option turns off root squashing. To squash every remote user, including... y.
The ro option mean mounting read-only.
The root_squash option for not allowing root write access in this directory.
For this change ... the following command on your terminal:
<code>
[root@deep]# /usr/sbin/exportfs -a
exportfs -r
writes
ass uns nun einige benötigte Pakete installieren (Root Privilegien werden benötigt).
<code>
apt-get inst... ===
Nun müssen wir das FUSE Kernel Modul laden (Root Privilegien werden benötigt)
<code>
modprobe fuse... kann, musst Du es in der Moduleliste hinzufügen (Root Privilegien werden benötigt).
<code>
vi /etc/modu... nter laden (führe dies als Benutzer und nicht als Root aus!).
<code>
cd ~/Desktop/
wget http://kent.dl.s
usste ich beim Server noch ein 'nohide' beim nfs4-root-Export einfügen. Meine (funktionierende) /etc/exp... 2.168.123.2/255.255.255.0(ro,nohide,sync,insecure,root_squash,no_subtree_check,fsid=0)
/nfs4exports/fil... 2.168.123.2/255.255.255.0(rw,nohide,sync,insecure,root_squash,no_subtree_check)
/nfs4exports/pictures ... 2.168.123.2/255.255.255.0(rw,nohide,sync,insecure,root_squash,no_subtree_check)
</code>
Quelle((http:
config configure Squid to start at boot::
<code>[root@bigboy tmp]# chkconfig squid on
</code>
Use the s... t, stop, and restart Squid after booting:
<code>[root@bigboy tmp]# service squid start
[root@bigboy tmp]# service squid stop
[root@bigboy tmp]# service squid restart</code>
You can test whether t