- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- disable login
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
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
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
10-25-2002 02:41 AM
10-25-2002 02:41 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 02:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 02:47 AM
10-25-2002 02:47 AM
Re: disable login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 02:51 AM
10-25-2002 02:51 AM
Re: disable login
passwd.maint
passwd.org
passwd
Regards
RJ.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 02:56 AM
10-25-2002 02:56 AM
Re: disable login
You can also stop people logging in (except for root) by using:
# touch /etc/nologin
But this only blocks users who come in via a process that uses /usr/bin/login (eg telnet/rlogin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 02:57 AM
10-25-2002 02:57 AM
Re: disable login
Give a broadcast message about your decision,
#wall
Then.
#init s
Gone to single user mode
DO your works.
When done,
#init 5
Go to multi-user mode.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 03:04 AM
10-25-2002 03:04 AM
Re: disable login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 03:09 AM
10-25-2002 03:09 AM
Re: disable login
You are quit right forgot the /etc/nologin, the easy way.
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 03:13 AM
10-25-2002 03:13 AM
Re: disable login
eg:
telnet allow adminsrv foo
telnet deny *
should do it...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 03:41 AM
10-25-2002 03:41 AM
Re: disable login
among them :
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x918a107d277ad611abdb0090277a778c,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x70db0bce6f33d6118fff0090279cd0f9,00.html
Enjoy
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 04:21 AM
10-25-2002 04:21 AM
Re: disable login
We use ssh...then it is quit easy to disable user login... just change the sshd_config from
+++
AllowUsers root operator userA
+++
to
+++
AllowUsers root
+++
and then restart the ssd daemon...maybe it is useful for the future
Bye
Elif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 04:27 AM
10-25-2002 04:27 AM
Re: disable login
If you are working at the console you can pull the network cable.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 05:52 AM
10-25-2002 05:52 AM
Re: disable login
NOTE: /etc/nologin prevents new users from logging in but does nothing to current users and nothing to applications that are running. You would be better off changing to single user mode with a shutdown and interactive reboot into single user mode. That guarentees no users can login and no applications will run.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2002 10:13 PM
10-26-2002 10:13 PM
Re: disable login
you must be sure /etc/default/security has a line 'NOLOGIN=1' in it. Otherwise, HP-UX will not honor the presence of /etc/nologin.
(The /etc/default/security entry can be set once and left enabled all the time, with /etc/nologin created/deleted as needed.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 01:13 PM
11-11-2004 01:13 PM
Re: disable login
Easiest and Safest way is :
#>/etc/nologin OR
#touch /etc/nologin
After this kill all the users currently logged in to the system.They wont be able to login further.
Regards,
Syam