Sponsored Content
Operating Systems HP-UX small ? on /etc/default/security edit? Post 302329035 by KmJohnson on Thursday 25th of June 2009 06:38:27 PM
Old 06-25-2009
I found my answer...
I am not sure if this is bad "form" to cross post to a second forum, but HP has it posted:
Preventing Users from Logging In
"Preventing Users from Logging In"

You can also use the ch_rc command to modify the NOLOGIN variable (see ch_rc(1M)).
http://docs.hp.com/img/s.gif#
/usr/sbin/ch_rc -a -p NOLOGIN=1 /etc/default/security

#
/usr/sbin/ch_rc -a -p NOLOGIN=0 /etc/default/security

Sorry if this is not cool in the groups eyes... -KJ

Last edited by KmJohnson; 06-26-2009 at 10:48 AM..
 

We Also Found This Discussion For You

1. IP Networking

Small Problem about Default Gateway

I have Ubuntu linux Os with two eth cards. I can easily delete def gatewayg. But I can't add new one.. :confused::confused: When I run route-n: alperen@alperen-System-Product-Name:~$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use... (1 Reply)
Discussion started by: Mhnds
1 Replies
NOLOGIN(5)						      BSD File Formats Manual							NOLOGIN(5)

NAME
nologin -- disallow logins DESCRIPTION
Programs such as login(1) disallow logins if the nologin file exists. The programs display the contents of nologin to the user if possible and interrupt the login sequence. This makes it simple to temporarily prevent incoming logins systemwide. To disable logins on a per-account basis, investigate nologin(8). SECURITY
The nologin file is ignored for user root by default. IMPLEMENTATION NOTES
The nologin feature is implemented through login.conf(5), which allows to change the pathname of the file and to extend the list of users exempt from temporary login restriction. PAM-aware programs can be selectively configured to respect nologin using the pam_nologin(8) module via pam.conf(5). The nologin file will be removed at system boot if it resides in /var/run and cleanvar_enable is set to ``YES'' in rc.conf(5), which is default. Therefore system reboot can effectively re-enable logins. FILES
/var/run/nologin default location of nologin SEE ALSO
login(1), login.conf(5), pam.conf(5), rc.conf(5), nologin(8), pam_nologin(8), shutdown(8) BSD
May 10, 2007 BSD
All times are GMT -4. The time now is 07:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy