- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- create no login user ID
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
04-16-2003 07:01 AM
04-16-2003 07:01 AM
Is there a way to create or effect a no login user on an HPUX 11 non-trusted machine? What I mean is a user that can not login but can be su'd to. That means simply altering the user's password is not an acceptable solution.
Thanks,
Carl
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 07:09 AM
04-16-2003 07:09 AM
Re: create no login user ID
Create the user and put * in the password field.
I think that should do what you require
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 07:11 AM
04-16-2003 07:11 AM
SolutionAllow only specific statically assigned ips or subnets and protect them.
Else, what ever is defined in the shell parameter as well as the password parameters will block or deny any access to the account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 07:19 AM
04-16-2003 07:19 AM
Re: create no login user ID
in ksh you can make use of the LOGNAME variable: the name with which the user originalley logs in is assigned to that variable. You can then test on the original logname in the .profile for the user to which you will only allow to su.
Example of the .profile for the user flipflop:
#!/usr/bin/sh
if [ "$LOGNAME" = "flipflop" ]
then
exit
fi
which will immediately logout the user flipflop when he logs in directly, but allow a su - flipflop.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 07:24 AM
04-16-2003 07:24 AM
Re: create no login user ID
qwerty:*:102:300:Qwerty Person:/home/qwerty:/bin/ksh
No login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 07:53 AM
04-16-2003 07:53 AM
Re: create no login user ID
Allow only specific statically assigned ips or subnets and deny all others.
Whatever is defined in the account shell parameter as well as the password parameter will be seen during the login process regardless of connection type. Whether from network or serial login.