Re: lock(1) to lock all virtual terminals?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Monday, September 24, 2007 - 2:27 pm

On 9/23/07, Todd Alan Smith wrote:

It's not necessarily a different version; all BSDs document in the
lock(1) manual page that the implementation came from the 3.0BSD
release. Indeed, all of them implement similar options with slight
variance in the additional command line switches:

FreeBSD adds a -v option to prevent switching virtual terminals during
a lock. It notes that only syscons(4) terminals are supported here.
(Note it's not saying that all other terminals are locked, just that
you can't switch to them. So under OpenBSD you might workaround for
similar behavior by logging into a single terminal session and running
screen(1) or similar to load others, then locking one in essence locks
them all.)

http://www.freebsd.org/cgi/man.cgi?query=lock&apropos=0&sektion=0&manpat...

OpenBSD doesn't support -v, but it doesn't use syscons either so
that's not really a consideration. But it does add a -a option to
extend authentication using the BSD auth subsystem, giving you
additional flexibility.

http://www.openbsd.org/cgi-bin/man.cgi?query=lock&apropos=0&sektion=0&ma...

NetBSD is the least featureful of the implementations as it has
neither a -v nor a -a option.

http://netbsd.gw.com/cgi-bin/man-cgi?lock++NetBSD-3.0

DS

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: lock(1) to lock all virtual terminals?, Douglas A. Tutty, (Sat Sep 22, 2:33 pm)
Re: lock(1) to lock all virtual terminals?, Todd Alan Smith, (Sun Sep 23, 7:11 pm)
Re: lock(1) to lock all virtual terminals?, Chris Kuethe, (Sun Sep 23, 7:23 pm)
Re: lock(1) to lock all virtual terminals?, Douglas A. Tutty, (Sun Sep 23, 10:54 pm)
Re: lock(1) to lock all virtual terminals?, Todd Alan Smith, (Sun Sep 23, 11:35 pm)
Re: lock(1) to lock all virtual terminals?, Darren Spruell, (Mon Sep 24, 2:27 pm)
Re: lock(1) to lock all virtual terminals?, Todd Alan Smith, (Mon Sep 24, 8:55 pm)