Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
protect console
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
himpierre
l33t
l33t


Joined: 31 Aug 2002
Posts: 867
Location: Berlin

PostPosted: Thu May 29, 2003 5:16 pm    Post subject: protect console Reply with quote

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
View user's profile Send private message
MezzUp
n00b
n00b


Joined: 29 May 2003
Posts: 29
Location: Vogar, Iceland

PostPosted: Thu May 29, 2003 7:33 pm    Post subject: Reply with quote

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:
Code:
emerge kde &

#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 ;)
_________________
Will eat food for sex
Back to top
View user's profile Send private message
jt42
n00b
n00b


Joined: 04 Apr 2003
Posts: 45
Location: Hamilton, ON, CA

PostPosted: Thu May 29, 2003 8:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
himpierre
l33t
l33t


Joined: 31 Aug 2002
Posts: 867
Location: Berlin

PostPosted: Fri May 30, 2003 4:35 am    Post subject: Reply with quote

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
View user's profile Send private message
nbensa
l33t
l33t


Joined: 10 Jul 2002
Posts: 799
Location: Buenos Aires, Argentina

PostPosted: Fri May 30, 2003 4:38 am    Post subject: Reply with quote

screen has a password option.

Code:
emerge screen
Back to top
View user's profile Send private message
gigel
Guru
Guru


Joined: 14 Jan 2003
Posts: 370
Location: .se/.ro

PostPosted: Fri May 30, 2003 1:51 pm    Post subject: Reply with quote

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
:D
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Sat May 31, 2003 2:39 pm    Post subject: Reply with quote

Emerge vlock, start your merge of kde on your first terminal(not in X). Login as root on your second and type the following
Code:
vlock -a
Now all consoles are locked by root.

Greetz
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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