- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- what is the need of /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
Discussions
Discussions
Discussions
Forums
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
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
тАО11-16-2005 11:50 PM
тАО11-16-2005 11:50 PM
what is the need of /etc/nologin
1) what is the need of /etc/nologin file
2) what is the use of Use UsePrivilegeSeparation parameter in ssh config file.
thanks and regards
sukumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2005 11:59 PM
тАО11-16-2005 11:59 PM
Re: what is the need of /etc/nologin
nologin)
no mention of nologin is provided on man page, yet a long time ago nologin was created during shutdown process to prevent user from login while shutdown was in progress.
UsePrivilegeSeparation)
sshd run as root, seting UsePrivilegeSeparation to yes will fork a new shell upon connection with user (e.g. non root) id.
(ssh session is forked with your ID, not root's)
Jean-Yves
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 12:06 AM
тАО11-17-2005 12:06 AM
Re: what is the need of /etc/nologin
applications that use session management services provided by pam_hpsec such as ssh will check whether the file /etc/nologin exists at login time and disallow the login if it exists.
2) UsePrivilegeSeparation means sshd will run in normal user mode instead of root. You have to set up a normal user such as sshd for this purpose.
hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 01:14 AM
тАО11-17-2005 01:14 AM
Re: what is the need of /etc/nologin
You can edit the file and put a message in which will be displayed for users anytime they try to access the system. The system checks and removes this file during your reboot process therefore it has to be created after each reboot (in case you have multiple reboots during your maintenance.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 01:39 AM
тАО11-17-2005 01:39 AM
Re: what is the need of /etc/nologin
[1]. If the /etc/nologin file exists, the system prevents the user from logging in and displays the contents of the /etc/nologin file. The system does allow the root user to log in if this file exists. The /etc/nologin file is removed when you reboot the system.
[2].