- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /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
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
тАО12-11-2002 11:55 PM
тАО12-11-2002 11:55 PM
How can i restrict normal user login i HP UX.Like /etc/nologin in Solaris.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2002 11:58 PM
тАО12-11-2002 11:58 PM
Re: /etc/nologin
Try the same in HP-UX . It will work atleast with some patch :-)
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2002 12:07 AM
тАО12-12-2002 12:07 AM
Re: /etc/nologin
For 11.00 you need at least patch PHCO_16309
This one is already superseded by PHCO_27721 which is the latest one.
In 10.20 it should work.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2002 12:20 AM
тАО12-12-2002 12:20 AM
Re: /etc/nologin
if test -f /nologin
then
if [ $LOGNAME != "root" ]
then
echo "login not allowed"
sleep 5
exit
fi
will restict the user logins if i put the same in /etc/profile ,it restricts the users using telnet to login,but where do i put the same to restrict the uers logins using reflectionx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2002 12:22 AM
тАО12-12-2002 12:22 AM
Re: /etc/nologin
If I read PHCO_25590 correctly, you have to implement this (after implementing the patch) in /etc/default/security.
An alternative might be to use /usr/bin/false as shell for those accounts you need ... but do not want to login.
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2002 12:48 AM
тАО12-12-2002 12:48 AM
Re: /etc/nologin
Whats the patch for 11i.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2002 01:03 AM
тАО12-12-2002 01:03 AM
Re: /etc/nologin
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2002 01:14 AM
тАО12-12-2002 01:14 AM
SolutionFor 11i you have the feature
check this doc
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062907697
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2002 01:25 AM
тАО12-12-2002 01:25 AM
Re: /etc/nologin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2002 02:00 AM
тАО12-12-2002 02:00 AM
Re: /etc/nologin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2002 05:53 AM
тАО12-12-2002 05:53 AM
Re: /etc/nologin
if [ $? -ne 0 -a "$LOGNAME" != "root" ]
then
clear
echo;echo;echo;
echo " Server is temporarily unavailable "
sleep 5
exit
fi
Chuck J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2003 06:59 AM
тАО12-15-2003 06:59 AM
Re: /etc/nologin
line NOLOGIN=1 in it. Then /etc/nologin
will be used with whatever message you
choose put in it.
The file security does may not exist by
default.