FreeBSD is too much a a headache for me...

If you run X via startx, someone who walks up to your desk and manages to kill your X session or switch to virtual terminals gets a shell with your account logged in.
I do not like *DM login screens. I use startxfce4 && exit. No shell when X exits.

Added later: Correction, I use startxfce4;exit. I used to use the && but realized that only works if X exits cleanly. :)
 
I do not like *DM login screens. I use startxfce4 && exit. No shell when X exits.

Added later: Correction, I use startxfce4;exit. I used to use the && but realized that only works if X exits cleanly. :)
How about going to the VT and use Ctrl-Z? Bingo, there is your shell. And I can even put it back in place when I'm done with my evil.
 
UnixRocks,
I do not like *DM login screens. I use startxfce4 && exit. No shell when X exits.

Added later: Correction, I use startxfce4;exit. I used to use the && but realized that only works if X exits cleanly. :)

That's because "&&" stands for the boolean AND operator. ;) Instead ";" acts like a "separator" of commands, regardless of the previous exit status.

tobik,
Better use startxfce4 & ; exit which exits the shell immediately.
shouldn't him use [B]nohup[/B] startxfce4 & ; exit instead? If I try doing a thing like that without nohup my shell complains about "still running" jobs.
 
How about going to the VT and use Ctrl-Z? Bingo, there is your shell. And I can even put it back in place when I'm done with my evil.
Ah! Good point. I reckon I will be incorporating some of these other good ideas as to how better to handle that. Looks like some experimentation is in order.
 
Back
Top