Re: lock all consoles except for 7
On Wed, Jan 23, 2002 at 03:12:01PM -0800, Karsten M. Self wrote:
| 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.
What I want is to remain logged in on the console, but prevent others
from doing anything with it (while I am still logged in).
I may just have to learn screen :-).
-D
--
I can do all things through Christ who strengthens me.
Philippians 4:13
Reply to: