Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disabling auto-lock on HP-UX systems

Status
Not open for further replies.

nappaji

Programmer
Mar 21, 2001
76
US
When the screen is left unused for a certain period of time, the screen locks up and can be unlocked only by the person logged in.

Does any one know how to disable this feature???

Thanks
 
Hi
Yes you can do that. This will remove the screensever icon so no one will able to lock the screen.

1. cp /usr/dt/app-defaults/C/Dtstyle /etc/dt/app-defaults/C

2. Edit /etc/dt/app-defaults/C/Dtstyle and remove the word
"screen" as shown below:

Change this line:

Dtstyle*componentList: Color Font Backdrop Keyboard Mouse Beep
Screen Dtwm Startup

To:

Dtstyle*componentList: Color Font Backdrop Keyboard Mouse Beep
Dtwm Startup

Note: This change will remove the Screensaver option from the
Style manager.

3. Edit /etc/dt/config/C/sys.resources and add the following two
lines:

dtsession*extension.saverTimeout: 0
dtsession*extension.lockTimeout: 0

Note: These two settings will disable the screen saver and
screen lock, respectively.

4. To make these changes take effect for all users, remove their
$HOME/.dt directories


Patel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top