This is a discussion on Linux Setting the screen to lock with password protection within the Getting started tutorials forums, part of the Linux Getting Started category; Problem: Linux Setting the screen to lock with password protection for all users Here we have powerful server for every ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Problem: Linux Setting the screen to lock with password protection for all users
Here we have powerful server for every user with X windows access. So we need the screen to lock with password protection after a specified time period for all logged in users of the system. Solution: => Login to system (for example as the tom user) => Use xscreensaver command to setup screen save and screen lock time => Now a file called xscreensaver created in my home directory ( /home/tom/.xscreensaver ) => Now copy this file to every user on system (you may need to login as the root). For example for user1: Code:
cp /home/tom/.xscreensaver /home/user1/ chown user1:user1 /home/user1/.xscreensaver Code:
cp /home/tom/.xscreensaver /etc/skel useradd user1000 passwd user1000 ls –l /home/user1000/.xscreensaver |
| Sponsored Links | ||
|
|
|
||||
|
I just tried this one and it worked like charm. Thanks for sharing with us.
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linux Cheat Sheets (awk, ed, sed, bash, screen, perl, and more) | pkrumins | Getting started tutorials | 1 | 02-19-2008 09:20 PM |
| HP UX user lock password, change password, password aging | rockdalinux | HP-UX | 0 | 12-20-2006 03:36 PM |
| set or how to change dns setting ubuntu linux network | chiku | Linux software | 1 | 07-17-2006 07:30 PM |
| Howto: Ubuntu Linux setting up my (or your) printer | toor | Getting started tutorials | 2 | 07-06-2006 05:41 PM |
| linux setting system-wide path | Linux software | 1 | 01-28-2006 12:19 PM | |