so, i would like no one, except me, can reattach my screen...
read: i don't want superuser-root can reattach my screen....
a few of search (and test), et voila:
in screen, type:
ctrl-a ENTER
:password ENTER
[screen asks for password 1th time] TYPE_MY_PASS
[screen asks for password 2th time] RETYPE_MY_PASS
then, if u reattach (only screen -r) it will ask for pass
finally, if u want all future screen sessions use THAT (crypted) password, u have to:
- obtain pass: ctrl-a ]
copy crypted string (i.e. "WWKHW6FMEu6TAjk234j")
- save a line into .screenrc as below:
echo password WWKHW6FMEu6TAjk234j >> .screenrc
enjoy it ;D
No comments :
Post a Comment