Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[OT] Sesja roota a zamknięcie terminala.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW
View previous topic :: View next topic  
Author Message
BeteNoire
Veteran
Veteran


Joined: 25 Sep 2005
Posts: 1827

PostPosted: Mon Jan 09, 2006 12:45 pm    Post subject: [OT] Sesja roota a zamknięcie terminala. Reply with quote

Mam takie, dziwne chyba, zapytanie: co się dzieje z sesją roota wywołaną przez "su" po zamknięciu terma? Czy ten sposób jest zdrowy czy może powinienem za każdym razem klepać exit?
_________________
powered by power plant
Back to top
View user's profile Send private message
Yatmai
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1501
Location: Kraków

PostPosted: Mon Jan 09, 2006 12:49 pm    Post subject: Reply with quote

Na moje rozumowanie jest killowana, jedyna różnica wzgledem wyjścia przez exit to nie wykonywanie poleceń z .bashrc_logout :)
_________________
Desktop: [Ath64 X2 2GB DDR2 GF76GT] [amd64] [2.6.29-gentoo] [nVidia] [KDE 3.5.10]
Lapek: [HP nc6000] [i686] [2.6.29-ARCH] [ati-open] [KDE 3.5.10]
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1990
Location: Poland

PostPosted: Mon Jan 09, 2006 12:50 pm    Post subject: Reply with quote

Wszystkie procesy potomne są przecież zabijane (poza demonami ;)).
Back to top
View user's profile Send private message
ziemia
n00b
n00b


Joined: 21 Sep 2005
Posts: 58

PostPosted: Mon Jan 09, 2006 2:43 pm    Post subject: Reply with quote

Quote:
Wszystkie procesy potomne są przecież zabijane (poza demonami ;)).


Tak powinni być i jest prawie zawszę ale jak ja zamknę terminal z odpalonym MC to mam obciążenie procka na 100% i muszę ponownie odpalić terminal i killall MC ;)
Back to top
View user's profile Send private message
Gabrys
Veteran
Veteran


Joined: 05 Dec 2005
Posts: 1096
Location: Toruń [PL]

PostPosted: Mon Jan 09, 2006 4:45 pm    Post subject: Reply with quote

Zasada jest taka: jeśli w terminalu masz TYLKO znak zachęty i brak odpalonych w tle procesów: MOŻNA ZAMYKAĆ TERMINAL. W przeciwnym wypadku trzeba rozważyć jak reagują aplikacje na różne sygnały.
_________________
Sabayon Professional 1.1 (czyli zdradziłem oryginalne Gentoo)
@ Dell Inspiron 8600 (nVidia, Realtek, Pentium M)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum