Schreibschutz

Juni 4, 2008 by chrisma68

/usr/lib/openoffice/program/soffice

SAL_ENABLE_FILE_LOCKING=1
export SAL_ENABLE_FILE_LOCKING

sane

Mai 19, 2008 by chrisma68

SERVER:
apt-get install sane-utils

/etc/inetd.conf
sane stream tcp nowait root /usr/sbin/saned sanded

/etc/sane.d/saned.conf
Netzwerk frei geben

Prozesse neu starten

CLIENT:

/etc/sane.d/net.conf
Server eintragen

root Passwort zurücksetzen

Mai 1, 2008 by chrisma68

A) Grub

init=/bin/bash

mount -o remount,rw /

b) Knoppix

Laufwerk mounten

chroot /mnt/hda6

c) Knoppix Software-Raid

modprobe md

mdadm  –assemble /dev/md0 /dev/xx /dev/xxx

mounten

chroot /mountpoint

NIS

April 14, 2008 by chrisma68

http://wiki.ubuntuusers.de/Baustelle/NIS?highlight=%28NIS%29

http://www.selflinux.org/selflinux/html/nis03.html

NFS

April 8, 2008 by chrisma68

#NFSv4 !!!!
mount -t nfs4 :/exports /mount/point


#NFS 3
/NFS 192.168.1.1(rw,async,subtree_check)
/NFS/v3 *(rw,sync,no_root_squash,subtree_check)
/NFS/test1 main(rw,all_squash,anonuid=0,anongid=0,subtree_check)
/NFS/test 192.168.1.1(rw,all_squash,anonuid=1000,anongid=1000,subtree_check)
#NFS 4
/nfs3 192.168.1.1(rw,fsid=0,subtree_check,sync)


nfsstat

Chandler

April 8, 2008 by chrisma68

/etc/init.d/chandler
#!/sbin/runscript
start() {
export JRE_HOME=/opt/sun-jdk-1.6.0.03
/opt/osaf-server-bundle-0.14.0/bin/osafsrvctl start
#/opt/osaf-server-bundle-0.12.0/bin/osafsrvctl start
}
stop() {
export JRE_HOME=/opt/sun-jdk-1.6.0.03
#/opt/osaf-server-bundle-0.12.0/bin/osafsrvctl stop
/opt/osaf-server-bundle-0.14.0/bin/osafsrvctl stop


migration.properties
migration.dialect=Derby
migration.datasource.driverClassName=org.apache.derby.jdbc.EmbeddedDriver
migration.datasource.url=jdbc:derby:/opt/osaf-server-bundle-0.12.0/db/;user=sa;upgrade=true
migration.datasource.username=sa
migration.datasource.password=


Mount bash

März 31, 2008 by chrisma68

ZAHL=$(mount|grep /dev/sda5|wc -l)

Rsync

März 12, 2008 by chrisma68

## Mit der Option -a kommt rsync bei Fat32 Dateisystemen nicht zurecht.

rsync -vz /home/cwieser/Dokumente/Database.kdb /media/disk/Documents/

Dokuwiki

März 11, 2008 by chrisma68

/usr/share/dokuwiki# chmod -R 775 *

trinityhome.org

März 3, 2008 by chrisma68

Windows Passwörter zurücksetzen

http://trinityhome.org/Home/index.php?wpid=1&front_id=12