A site for solving at least some of your technical problems...
A site for solving at least some of your technical problems...
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
Source: Server Fault