Access.conf

From Leo's Notes
Revision as of 19:57, 18 June 2013 by Leo (talk | contribs) (Created page with " <code>/etc/security/access.conf</code> is a file that restricts who can log in on a particular machine. == Syntax == # Comments are defined with '#' # There are 3 fields: #...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 18 June 2013, at 19:57.

/etc/security/access.conf is a file that restricts who can log in on a particular machine.

Syntax

  1. Comments are defined with '#'
  2. There are 3 fields:
  3. 1. Permission is defined with either a '+' (allow) or a '-' (deny)
  4. 2. You may define 'users', '(groups)', or 'ALL'
  5. 3. You may define the TTY. Use 'ALL' for all TTY's. LOCAL for local only. Set an IP to restrict by IP

+ : root : cron crond :0 tty1 tty2 tty3 tty4 tty5 tty6 + : (staff) (sys) (utils) (wheel) (visagg) EXCEPT dispatch ftp semipost trouble : ALL - : ALL : ALL