I'm looking for some help relative to restricting/allowing NIS users/netgroups access on AIX5L. Normally within Solaris, field mappings for the user shell can be defaulted to a noaccess file. For example:
+NIS_user1
+@NIS_net_group
+::::::/etc/noaccess
where /etc/noaccess is just a file that echoes out "You are not an Authorized user." for users not specified inclusively by definition, +NIS_user1 or +@NIS_net_group. I currently receive a "Cannot set process environment" error message, instead of the echoed statement.
I know that there is a /etc/nologin that restricts ALL non-root logins for administrative tasks that requires nobody else to be logged into the system, but does this NIS default functionality cross over from solaris? If it does not, how is this security restriction normally performed?
Thanks.
+NIS_user1
+@NIS_net_group
+::::::/etc/noaccess
where /etc/noaccess is just a file that echoes out "You are not an Authorized user." for users not specified inclusively by definition, +NIS_user1 or +@NIS_net_group. I currently receive a "Cannot set process environment" error message, instead of the echoed statement.
I know that there is a /etc/nologin that restricts ALL non-root logins for administrative tasks that requires nobody else to be logged into the system, but does this NIS default functionality cross over from solaris? If it does not, how is this security restriction normally performed?
Thanks.