====== Linux Professional Institute Certification Level 1 ==
===== xinetd ==
''/etc/xinetd.conf'' is the general config file of xinetd and ''/etc/xinetd.d'' contains a config file for each service, e.g. ''daytime''.
To (de)activate a xinetd subservice use eg ''chkconfig daytime on''
===== RAID ==
^ RAID ^ 1 ^ 0 ^ 5 ^
^ read | IYES | IYES IYES | IYES IYES |
^ write | INO | IYES IYES | IYES |
^ reliability | IYES | INO | IYES |
===== Sticky Bit ==
| ^ user ^ group ^ others ^
^ directory | INO | FIXME | only creator can delete(?) |
^ file | run with the rights of the owner of the file | run with the rights of the group of the file(?) | INO |
===== Services ==
''chkconfig'' is used to manipulate the runlevel links at boot time (see init.d(7))
''/etc/sysconfig'': startup config for services
''/etc/sysconfig/sysctl'': ''IP_FORWARD="no"'' :!:
===== Examples ==
#!/bin/bash
cat > $1/fSet.sh << ENDE
#!/bin/bash
test -d $1/$2 || groupadd $2
test -d $1/$3 || groupadd $3
test -d $1/$4 || groupadd $4
test -d $1/$2 || mkdir $1/$2
test -d $1/$3 || mkdir $1/$3
test -d $1/$4 || mkdir $1/$4
chown root:$2 $1/$2
chown root:$3 $1/$3
chown root:$4 $1/$4
chmod 3770 $1/$2
chmod 3770 $1/$3
chmod 3770 $1/$4
ENDE
chmod +x $1/fSet.sh
grep "^maA:" /etc/passwd | cut -d: -f6
*/2 * * * * date > /dev/tty12
/var/spool/cron
===== Todo / Misc ==
* set -o vi
*
* ACM
* ctrl-z
* col?
* /proc/dma
* rpm : oldpackage
* {{lpi.zip|Sample questions}}
* .xinitrc <=> .xdefaults
* http://www.4shared.com/network/search.jsp?searchmode=2&searchName=117+101 :!:
* xhost
* X fonts
* kill -9 (-15) pid
* vi ctrl F on page forward
* [[erich@3ers.de|Erich Dreier]]