- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Restricting User Access
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
08-12-2003 01:41 PM
08-12-2003 01:41 PM
Restricting User Access
We have an application (Beckman LIMS) which runs in HP-UX 11.11. The users connect via a Citrix server using rexec. We have disabled access to the login prompt for security reasons using the following commands in the .profile:
if [ `tty | grep -i dev` != "" ]
then
exit
fi
A tty is needed for password changes. Any ideas on how these two conditions can be fulfilled?
Thanks to all those who respond.
Regards,
Suren Selva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 10:18 PM
08-12-2003 10:18 PM
Re: Restricting User Access
What about a password script entered in your .profile ?
if [ `tty | grep -i dev` != "" ]
then
Echo "Pls enter new password or cancel with Ctrl-C"
sleep 2
if [ $passwd ="^C" ]
then exit
else
passwd
fi
exit
fi
or something like this.
This was just nailed into the machine within a few seconds to show you a way.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 05:34 AM
08-13-2003 05:34 AM
Re: Restricting User Access
Is there any other way of restricting the login prompt?
-Suren
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 05:45 AM
08-13-2003 05:45 AM
Re: Restricting User Access
Check this, it seems is what you are looking for.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8aa699ad850ec24399404bd9506be647,00.html
Hope this helps.
Regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2003 05:50 AM
08-13-2003 05:50 AM
Re: Restricting User Access
1)I do not believe that rexec accesses the .profile
2)put as last line of .profile exit
Then anyone who tries to login logs out again
Steve Steel