- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Restrict the access to hpux system
Operating System - HP-UX
1755127
Members
3290
Online
108830
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО12-16-2004 02:51 AM
тАО12-16-2004 02:51 AM
Hi,
S.O. HP-UX 11i
In order to restrict the access to the system in temporary form, can be changed to the file passwd? And to return to normality, to restitute the original file of passwd?
Thank in advance
Jorge Prado T.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 02:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 03:08 AM
тАО12-16-2004 03:08 AM
Re: Restrict the access to hpux system
I modified /etc/profile to look to see if file /tmp/nologin exists and if it does, it exits with a message the system is not available. Then if I want to prevent users from logging in, I enter "touch /tmp/nologin"
HTH
-- Rod Hills
HTH
-- Rod Hills
There be dragons...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 03:17 AM
тАО12-16-2004 03:17 AM
Re: Restrict the access to hpux system
Put this in your /etc/default/security file
## Non-root users cannot login if /etc/nologin exists - displays contents
NOLOGIN=1
If the /etc/nologin file exists, it's content is printed on the screen and login is denied
From man security:
NOLOGIN This parameter controls whether non-root login can be disabled by the /etc/nologin file.
NOLOGIN=0 Ignore the /etc/nologin file and do not exit if the /etc/nologin file exists.
NOLOGIN=1 Display the contents of the /etc/nologin file and exit if the /etc/nologin file exists.
Default value: NOLOGIN=0
## Non-root users cannot login if /etc/nologin exists - displays contents
NOLOGIN=1
If the /etc/nologin file exists, it's content is printed on the screen and login is denied
From man security:
NOLOGIN This parameter controls whether non-root login can be disabled by the /etc/nologin file.
NOLOGIN=0 Ignore the /etc/nologin file and do not exit if the /etc/nologin file exists.
NOLOGIN=1 Display the contents of the /etc/nologin file and exit if the /etc/nologin file exists.
Default value: NOLOGIN=0
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP