<Jeroen> Wirf: vrouwen versieren kan je gewoon in het OSI model proppen hoor :P
I am dyslexic of Borg prepare to have your ass laminated
Real Programmers always confuse Christmas and Halloween because oct31 = dec25
Daarin zet je dan de commando's die uitgevoerd dienen te worden voordat je uitlogt.
In jou geval dus clear
Zo ja:
1
2
3
4
5
6
7
8
| marcelm@something marcelm$ cat .bash_logout
# ~/.bash_logout: executed by bash(1) when login shell exits.
# when leaving the console clear the screen to increase privacy
case "`tty`" in
/dev/tty[0-9]) clear
esac |
Hoewel een simpele 'clear' ook zou volstaan
Dit is dus overigens alleen voor bash, met andere shells zou ik het niet weten.
trouwens nog een vraagje als je een extra user aanmaakt kun je er dan ook voor zorgen dat dit .bash_logout script automatisch word gemaakt en in zijn / haar home dir word geplaatst??
<Jeroen> Wirf: vrouwen versieren kan je gewoon in het OSI model proppen hoor :P
I am dyslexic of Borg prepare to have your ass laminated
Real Programmers always confuse Christmas and Halloween because oct31 = dec25
in /etc/skel zetten. Da's een skeleton (Hey, daar komt die naam dus vandaan! ;-)) ), daar kun je ook standaard instellingen voor andere programma's inzetten, deze worden automatisch in de homedirectory van een nieuwe user gezet..Op maandag 17 september 2001 22:10 schreef Kogelvis het volgende:
Allemaal bedankt dit is precies wat ik bedoel en ik gebruik idd bash als shell.
edit:
trouwens nog een vraagje als je een extra user aanmaakt kun je er dan ook voor zorgen dat dit .bash_logout script automatisch word gemaakt en in zijn / haar home dir word geplaatst??
God, root, what is difference? | Talga Vassternich | IBM zuigt
<Jeroen> Wirf: vrouwen versieren kan je gewoon in het OSI model proppen hoor :P
I am dyslexic of Borg prepare to have your ass laminated
Real Programmers always confuse Christmas and Halloween because oct31 = dec25
/etc/inittab
1
2
3
4
5
6
7
8
9
10
| # getty-programs for the normal runlevels # <id>:<runlevels>:<action>:<process> # The "id" field MUST be the same as the last # characters of the device (after "tty"). 1:2345:respawn:/sbin/mingetty --noclear tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6 |
1:2345:respawn:/sbin/mingetty --noclear tty1
En dat --noclear weghalen dus dan krijg je:
1
2
3
4
5
6
7
8
9
10
| # getty-programs for the normal runlevels # <id>:<runlevels>:<action>:<process> # The "id" field MUST be the same as the last # characters of the device (after "tty"). 1:2345:respawn:/sbin/mingetty tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6 |
En dan:
root@****:/etc/rc.d > kill -HUP 1
gewoon het init proces restarten en dan hoef je niet moeilijk te doen met shells etc.
Dat snap ik niet wie wil het even uitleggen?root@****:/etc/rc.d > kill -HUP 1
Google, Het mirakel van de 21e eeuw!!!!
There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence. -- Jeremy S. Anderson
In short: just say NO TO DRUGS, and maybe you won't end up like the Hurd people. -- Linus TorvaldsI
Kan ook maar ik was dat commando ff kwijtOp dinsdag 18 september 2001 13:56 schreef _Yellow_ het volgende:
gewoon 'init q' kan ook