[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lock all consoles except for 7



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?  Disable gettys to vc  1-7 will do the trick.  Pam
probably lets you disable console logins to all but root, but IMO that's
bass-ackwards -- better to allow a user login, then su/sudo to root.

Though if you've got console, you can set your init process to bash and
undo virtually anything.

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: pgp9OqMns0g75.pgp
Description: PGP signature


Reply to: