- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/nologin
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
Forums
Discussions
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
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-04-2003 11:39 AM
08-04-2003 11:39 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 11:47 AM
08-04-2003 11:47 AM
Re: /etc/nologin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 11:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 11:50 AM
08-04-2003 11:50 AM
Re: /etc/nologin
Yes, but in the /etc/default/security file
you'll need an entry of NOLOGIN=1 to use it.
The value of NOLOGIN=0 ignores the /etc/nologin file and is the default. I think this behavior
just works in HP-UX 11i.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 11:50 AM
08-04-2003 11:50 AM
Re: /etc/nologin
You set NOLOGIN=1 in '/etc/default/security'. This enables the use of 'etc/nologin'. That is, its contents are displayed and the login exits if the file '/etc/nologin' exists.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 11:52 AM
08-04-2003 11:52 AM
Re: /etc/nologin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 11:52 AM
08-04-2003 11:52 AM
Re: /etc/nologin
So if you want a msg to be displayed like
"Logins not allowed at this time" or such create /etc/nologin with that text. Else if you just touch the file then no logins will be allowed & no msg will be displayed. But again, /etc/default/security MUST have NOLOGIN=1 or the /etc/nologin file will be ignored.
HTH,
Jeff