How do i lock my virtual terminal in redhat?

  • Man page for vlock.

    Quote from the vlock man page:

    vlock works for console sessions primarily. However, there is support for trying to lock non-console sessions as well, but that support has not been well tested.

    You can lock your terminal session using the vlock command.

    $ vlock
    This tty (pts/0) is not a virtual console.
    The pts/0 is now locked by trainer.

    The password is your user password.

    It's there if you need it.

Log in to reply

© Lightnetics 2019