on Sun, Jan 20, 2002 at 10:39 PM -0500, dman (dsh8290@rit.edu) wrote: > On Sun, Jan 20, 2002 at 03:47:10PM -0800, Karsten M. Self wrote: > | on Sun, Jan 20, 2002 at 06:24:27PM -0500, dman (dsh8290@rit.edu) wrote: > | > > | > Is there a way to lock all consoles except for 7? 'vlock -a' will > | > lock all consoles, but then it prevents switching back to X. > | > | What's your goal? > > My goal is to login to a console and do some non-gui stuff. Then lock > the console and walk away, but still allow X to be used. Sometimes I > like to tail the mail logs in a console, and the only way to lock them > (without killing the tail) is to lock all consoles. The problem then > is that it is impossible to switch to vc7 and use X there. I'd do one of the following: - Disably gettys on VC 1-6 and restart init. - Use an automated console session starter, and create /etc/nologin. - Muck around with pam or such to disable all but root logins from console, if I really needed to keep a getty running on console. Peace. -- Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? Home of the brave http://gestalt-system.sourceforge.net/ Land of the free We freed Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org Geek for Hire http://kmself.home.netcom.com/resume.html
Attachment:
pgpqfFPfonMYi.pgp
Description: PGP signature