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.

  • Bill Gates
    The person who created Microsoft with a few friends. Multi-billionaire, he lives in Richmont Washington and has been the CEO of Microsoft for a very long time. He's now just a Chairman.
  • E_NOTICE
  • Fedora

    Linux system based on the now discontinued free RedHat distribution. Previously called FedoraCore.

  • logon
  • trigger