Sponsored Content
Full Discussion: Need help with security
Top Forums UNIX for Dummies Questions & Answers Need help with security Post 14351 by thehoghunter on Wednesday 30th of January 2002 03:24:50 PM
Old 01-30-2002
It seems you have a handle on what you want to do and where to get the information. What do you need help with?

Hint: scripting is only putting in a executable file what you could have done from the command line. Adding loops and conditions is to allow for your manually doing it in your head (When you see a different IP address on a specific user name, you realize you need to check it out ). So just put in the script the steps you are doing manually.
thehoghunter
 
LOGIN.ACCESS(5) 					      BSD File Formats Manual						   LOGIN.ACCESS(5)

NAME
login.access -- login access control table DESCRIPTION
The login.access file specifies on which ttys or from which hosts certain users are allowed to login. At login, the /etc/login.access file is checked for the first entry that matches a specific user/host or user/tty combination. That entry can either allow or deny login access to that user. Each entry have three fields separated by colon: o The first field indicates the permission given if the entry matches. It can be either ``+'' (allow access) or ``-'' (deny access) . o The second field is a comma separated list of users or groups for which the current entry applies. NIS netgroups can used (if configured) if preceeded by @. The magic string ALL matches all users. A group will match if the user is a member of that group, or it is the user's primary group. o The third field is a list of ttys, or network names. A network name can be either a hostname, a domain (indicated by a starting period), or a netgroup. As with the user list, ALL matches anything. LOCAL matches a string not containing a period. If the string EXCEPT is found in either the user or from list, the rest of the list are exceptions to the list before EXCEPT. BUGS
If there's a user and a group with the same name, there is no way to make the group match if the user also matches. SEE ALSO
login(1) AUTHORS
The login_access() function was written by Wietse Venema. This manual page was written for Heimdal. HEIMDAL
March 21, 2003 HEIMDAL
All times are GMT -4. The time now is 09:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy