- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- command to lock the terminal
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 07:08 PM
05-11-2006 07:08 PM
What is the command to lock the terminal ( i used x term) on hpux ?
Similar to xlock on AIX.
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 07:10 PM
05-11-2006 07:10 PM
Re: command to lock the terminal
i think is "lock" in hp-ux.
GOOD LUCK!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 07:17 PM
05-11-2006 07:17 PM
Re: command to lock the terminal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 07:27 PM
05-11-2006 07:27 PM
Re: command to lock the terminal
'man lock' answers all your questions.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 07:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 08:03 PM
05-11-2006 08:03 PM
Re: command to lock the terminal
You can simply type "lock" to lock up a xterm. When you come back, just move your mouse or press any key, it will ask password to unlock.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 09:21 PM
05-11-2006 09:21 PM
Re: command to lock the terminal
First way is use "lock" command.
Example:-
# lock
Key:give passwd
Again:give same passwd
LOCKED
After that give passwd to unlock.
2nd way is,
CTRL+S freeze your terminal. press CTRL+Q to start responding again.
First way is recommended.
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 09:36 PM
05-11-2006 09:36 PM
Re: command to lock the terminal
Key:
Again:
LOCKED
On another terminal,
$ ps -fu user1
user1 14288 23885 0 11:31:24 pts/1 0:00 lock
With user root:
$ kill 14288
...
Key:
Again:
LOCKED
Terminated <<--
lock(1) lock(1)
NAME
lock - reserve a terminal
SYNOPSIS
lock
DESCRIPTION
lock requests a password from the user, then prints LOCKED on the
terminal and refuses to relinquish the terminal until the password is
repeated. If the user forgets the password, the only recourse is to
log in elsewhere and kill the lock process.
Hewlett-Packard Company - 1 - HP-UX Release 11i: November 2000
rgs,
ran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 11:02 PM
05-11-2006 11:02 PM
Re: command to lock the terminal
its "lock"
$ lock
Key:
Again:
LOCKED
Once it loked user can not do anything.
To unclock you have to provide the password given at the time of locking.
Cheers,
Raj.