- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX Restrcting Login Access , from Multiuser?
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
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
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-18-2004 11:33 PM
тАО08-18-2004 11:33 PM
How i can restrict , the users , not to login to the system , without going to single user mode.
like solaris /etc/nologin
I have HP-UX B.11.00 , and /etc/nologin dont works.
can any one give some idea ,
Regards,
Raj. D
---------
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2004 11:36 PM
тАО08-18-2004 11:36 PM
Re: HP-UX Restrcting Login Access , from Multiuser?
T1471AA
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2004 12:55 AM
тАО08-19-2004 12:55 AM
Re: HP-UX Restrcting Login Access , from Multiuser?
To use nologin file change value in /etc/default/security: replace NOLOGIN=0 by NOLOGIN=1. See also if you have all patches concerning NOLOIN are installed.
Other method for restrict login: change login shell script in /etc/passwd. Use /bin/false instead of sh or ksh.(use specialy for ftp users).
Rgds
JMB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2004 01:03 AM
тАО08-19-2004 01:03 AM
Re: HP-UX Restrcting Login Access , from Multiuser?
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2004 01:56 AM
тАО08-19-2004 01:56 AM
Re: HP-UX Restrcting Login Access , from Multiuser?
http://www.interex.org/pubcontent/enterprise/jul01/09uxqa.html
JMB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2004 02:12 AM
тАО08-19-2004 02:12 AM
SolutionCreate /etc/nologin file and setting variable NOLOGIN to 1 in file /etc/default/security ,it will work fine.
And more ways over here,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=147806
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=643759
Regards
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2004 02:16 AM
тАО08-19-2004 02:16 AM
Re: HP-UX Restrcting Login Access , from Multiuser?
for the /etc/profile to prevent user logins during system maintenance while
in multiple mode:
if [ -f /etc/nologin ]
then
if [ $LOGNAME != "root" ]
then
echo "System maintenance is be performed and users are being"
echo "prevented from accessing the system."
sleep 5
exit
fi
fi