View previous topic :: View next topic |
Author |
Message |
himpierre l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Quake3/quake3_sarge.gif)
Joined: 31 Aug 2002 Posts: 867 Location: Berlin
|
Posted: Thu May 29, 2003 5:16 pm Post subject: protect console |
|
|
Hello
I wish to protect the console in which i emerge a program. I think its not a good idea to do an "emerge kde" and go home. If someone at work reaches my computer and emerge of kde is comleted, he has full root access. Is there a "screensaver" with password protection for the console?
thanks and regards
Thomas |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MezzUp n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/17805875813ed6099ecf0e8.png)
Joined: 29 May 2003 Posts: 29 Location: Vogar, Iceland
|
Posted: Thu May 29, 2003 7:33 pm Post subject: |
|
|
You could do something like put the process in the background, to put a proccess in the background there are two ways:
#1. put a " &" (a space and a "and" symbol) at the end of the command, so you could just run:
#2. You could also start "emerge kde" and then press (I think it was) "Ctrl +z" to snozze emerge and then it says something like "[3]+ Stopped......." then you write "bg 3" to put emerge in the background
I think that's the way to run proccess in the background, then the process doesn't stop after you logout(I think!, check it first)
To put proccess in the forground just say "fg 3" (or any proccess numer)
Look ma', my first support post ![Wink ;)](images/smiles/icon_wink.gif) _________________ Will eat food for sex |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jt42 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/16569115143ec55ec07e1fc.png)
Joined: 04 Apr 2003 Posts: 45 Location: Hamilton, ON, CA
|
Posted: Thu May 29, 2003 8:12 pm Post subject: |
|
|
nohup emerge kde > emerge-kde.log 2>&1 &
runs the job in the background in a way thats immune to hangups (logouts) and saves the output to emerge-kde.log
-john _________________ STRESS: the confusion created when the mind overrides the body's basic desire to choke the living crud out of some jerk who desperately needs it |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
himpierre l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Quake3/quake3_sarge.gif)
Joined: 31 Aug 2002 Posts: 867 Location: Berlin
|
Posted: Fri May 30, 2003 4:35 am Post subject: |
|
|
Thanks for your answers. I know about the foreground and background and nohup stuff. But i was hoping there is a console screensaver with password protection. Anyway, nohup will do job.
regards
Thomas |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nbensa l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/117650096546f8888899d81.jpg)
Joined: 10 Jul 2002 Posts: 799 Location: Buenos Aires, Argentina
|
Posted: Fri May 30, 2003 4:38 am Post subject: |
|
|
screen has a password option.
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gigel Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17568774133ecdc4fac2587.gif)
Joined: 14 Jan 2003 Posts: 370 Location: .se/.ro
|
Posted: Fri May 30, 2003 1:51 pm Post subject: |
|
|
himpierre wrote: | Thanks for your answers. I know about the foreground and background and nohup stuff. But i was hoping there is a console screensaver with password protection. Anyway, nohup will do job.
regards
Thomas |
there is xscreensaver _________________ $emerge sux
![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
infirit l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/507e7d603e2b2a9eb2935.gif)
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Sat May 31, 2003 2:39 pm Post subject: |
|
|
Emerge vlock, start your merge of kde on your first terminal(not in X). Login as root on your second and type the following Now all consoles are locked by root.
Greetz |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|