NAME

lcfg-auth - LCFG auth component

VERSION

This documentation refers to lcfg-auth version 1.2.1

DESCRIPTION

This component contructs all the basic authorization files allowing access to the machine. This includes /etc/passwd, /etc/group, /etc/hosts.equiv and /root/.rhosts.

accessrules

A list of rules for the accessconf file. See access.conf(5) and pam_access(8) for details of the possible types of rules.

accessrule_tag

The definition for the access rule associated with tag.

base_group

The base file used to populate /etc/group.

base_passwd

The base file used to populate /etc/passwd.

consolepermclasses

This is a list of console file and device classes to be defined in the consoleperms file. See console.perms(5) and pam_console(8) for further details.

consolepermclass_tag

This is the definition for the class associated with tag.

consolepermrules

This is a list of rules for the file and device classes defined in consolepermclasses.

consolepermrule_tag

This is the definition for the rule associated with tag.

equiv

A (space-separated) list of items to be added to the hosts.equiv file. See hosts.equiv(5) for full details.

extrapasswd

A list of passwd entries tags to be added to /etc/passwd. There are two ways to specify the contents of the passwd file entry. Either specify the complete string using the pwent resource or specify each of the fields separately. For backwards compatibility reasons any setting of the pwent resource means the individual field resources are ignored for that tag.

pwent_TAG

A complete additional passwd file entry. If this is set then any settings of resources for the individual fields (listed below) will be ignored for that tag.

pw_name_TAG

The username field for a passwd file entry. If this is not specified then the username will be the LCFG tag.

pw_passwd_TAG

The passwd field for a passwd file entry. By default this is set to * (asterisk) to prevent logins.

pw_uid_TAG

The uid field for a passwd file entry. If this is specified it must be a positive integer. When adding users via the separate resources this field MUST be specified.

pw_gid_TAG

The gid field for a passwd file entry. If this is specified it must be a positive integer. When adding users via the separate resources this field MUST be specified.

pw_gecos_TAG

The gecos field for a passwd file entry.

pw_dir_TAG

The home directory field for a passwd file entry. When adding users via the separate resources this field MUST be specified.

pw_shell_TAG

The shell field for a passwd file entry. When adding users via the separate resources this field MUST be specified.

extragroup

A list of group entries tags to be added to /etc/group. There are two ways to specify the contents of the group file entry. Either specify the complete string using the grpent resource or specify each of the fields separately. For backwards compatibility reasons any setting of the grpent resource means the individual field resources are ignored for that tag.

grpent_TAG

An additional group entry. If this is set then any settings of resources for the individual fields (listed below) will be ignored for that tag.

gr_name_TAG

The group name field for a group file entry. If this is not specified then the group name will be the LCFG tag.

gr_passwd_TAG

The passwd field for a group file entry. By default this is set to x.

gr_gid_TAG

The gid field for a group file entry. If this is specified it must be a positive integer. When adding groups via the separate resources this field MUST be specified.

gr_mem_TAG

This is the list of members for a group file entry. Unlike the standard Unix group file format this list MAY contain spaces. Any spaces will be translated into commas before the entry is added to the group file. This makes it much easier to manipulate the list using the standard LCFG mutators such as mADD and mREMOVE.

managepasswd

This boolean controls whether the component manages the /etc/passwd and /etc/shadow files. It defaults to "true".

owner

A (space-separated) list of workstation owners. Valid usernames in this list will be added to the accessconf file.

protectdevs

List of devices (eg disks) which should not be added to the consoleperms file. Normally set to the same value as the fstab.disks resource. Note that the device entry should be shortform (eg hda rather than /dev/hda).

rhosts

A (space separated) list of items to be added to the hostsequivfile file. See pam_rhosts(8) for full details.

rootpwd

The encrypted root password.

securetty

A (space-separated) list of entries to populate the securettyfile file. See securetty(5) for full details.

shadow

This is a boolean resource, if set to yes (the default), the component will convert the passwd file files to the more secure shadow equivalent.

tmp_mode

If non-null, specifies the chmod protection mask to be applied to /tmp.

users

A (space-separated) list of users or netgroups to be added to the accessconf file. See access.conf(5) and pam_access(8) for full details.

var_tmp_mode

If non-null, specifies the chmod protection mask to be applied to /var/tmp.

consoleperms

This is the location of the console.perms file, the default is /etc/security/console.perms. This is the control file which determines the permissions that will be given to privileged users of the console at login time, and the permissions to which to revert when the users log out. This is used by the pam_console PAM module.

accessconf

This is the location of the access.conf file, the default is /etc/security/access.conf. When a user logs in this file is scanned for the fitst entry which matches for the user, the permissions field controls whether the login is accepted or rejected. This is used by the pam_access PAM module.

securettyfile

This is the location of the securetty file, the default is /etc/securetty. This file contains a list of device names of tty lines on which root is allowed to login.

hostsequivfile

This is the location of the hosts.equiv file, the default is /etc/hosts.equiv. This file may contain a list of hosts and users that are granted "trusted" r-command access to your system

rhostsfile

This is the location of the rhosts file for root, the default is /root/.rhosts. This is used by the pam_rhosts PAM module.

nologin

This controls the existence of the /etc/nologin file. If you are using the pam_nologin PAM module then normal users (i.e. not root) will be prevented from logging into a machine when this file exists. The value of this resource will become the literal contents of the file and that is displayed to any user who attempts to login.

PLATFORMS

This is the list of platforms on which we have tested this software. We expect this software to work on any Unix-like platform which is supported by Perl.

Scientific5, Scientific6, Fedora13

BUGS AND LIMITATIONS

Please report any problems to bugs@lcfg.org, feedback and patches are also always very welcome.

AUTHOR

Alastair Scobie <ascobie@inf.ed.ac.uk>, Stephen Quinney <squinney@inf.ed.ac.uk>

LICENSE AND COPYRIGHT

Copyright (C) 2008-2009 University of Edinburgh. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the terms of the GPL, version 2 or later.