Syndicate content

Solaris virtual consoles are password protected, how to remove the protection?

Solaris 11.2 (Open SunOS really) has virtual console a la Linux. This works great. You can use the Alt-F1 to Alt-F6 keys to instantly switch between 6 different consoles. I use that to have one console with an editor and another with my make and runtime tests.

Unfortunately, Solaris includes a lock which manes that each time you switch between a console, it hides the content and ask you for your password to unlock the console (that way you could have multiple users on the same computer, each using a different console and the system remains safe since people cannot just go to someone's console and type command.)

For a developer, this is just not tolarable so I wanted to turn off that feature. This is done with the service configuration command as follow:

$ su -
Password: ...
# svccfg -s vtdaemon setprop options/secure=false
# svcadm refresh vtdaemon
# svcadm restart vtdaemon

The first command changes the flag and the next two ensures that the vtdaemon takes the new value in account. The su is used to make sure all the commands are run as root otherwise it does not work (although the command does not give you any errors.)

The change sticks so on next reboot it will continue to behave as expected (Alt-F1 to Alt-F6 to logged in screens do not ask you for your password anymore.)

You may revert to the default by setting the flag back to true as in:

# svccfg -s vtdaemon setprop options/secure=true

Sources: Server Fault and Solaris Virtual Consoles

Syndicate content

Diverse Realty

Diverse Realty Team

Want a New Home?
Want to Sell Your House?

Call Alex at
+1 (916)
220 6482

Alexis Wilke, Realtor
Salesperson
Lic. # 02024063

Cory Marcus, Broker
Lic. # 01079165

     

Terms of Site Index

Find the page/content you are looking for with our index.

  • bash
  • CPU
    Central Processing Unit--what actually enables a computer to do things. The most well known are the Intel and AMD processors, although there are thousands of them.
  • g++
    C++ compiler from the GNU compiler suite. Compliant as much as possible to the C++ standard. Includes support of a complete standard library (STL).
  • lsof

    List open files in your Linux system. This command lists all the files that are currently opened. If you are root, you can list all the files opened on the system. Otherwise, only those that you have permission to read or write will show up.

  • unbound