GNU/Linux |
RedHat 6.2(Zoot) |
|
![]() |
authconfig(8) |
![]() |
authconfig − simple interface for configuring system authorization resources
authconfig [--back] [--test] [--nostart] [--authtype=<type>] [--enablenis [--nisdomain <domain>] [--nisserver <nisserver>] ] [--useshadow [--enablemd5] ] [--kickstart]
authconfig provides a simple method of configuring /etc/sysconfig/network to handle NIS, as well as /etc/passwd and /etc/shadow, the files used for shadow password support.
The authconfig window contains a Cancel button by default. If --back is specified at run time, a Back button is presented instead. If --test is specified, authconfig can be run by users other then root, and any configuration changes are not saved. If --nostart is specified (which is what the install program does), ypbind will not be started or stopped immediately following program execution, but only enabled to start or stop at boot time. if --kickstart is specified, no interactive screens will be seen. The values the program will use will be those specified by the other options (--enablemd5, --usehadow, etc.).
The default in kickstart mode (i.e. without any additional options) will be normal (non-shadow) UNIX password style authentication with traditional crypted (not MD5-hashed) passwords.
The primary option of interest for kickstart users is authtype. The valid authorization types are currently password and nis. Support for LDAP and Kerberos is forthcoming.
--enablenis is deprecated and you should use --authtype=nis instead.
authconfig returns 0 on success, 2 on error, and 1 if the user cancelled the program (by using either the Cancel or Back button).
/etc/sysconfig/network
Enables or disables NIS support
/etc/passwd,
Used for shadow password support
/etc/yp.conf
configuration file for NIS support
/etc/ldap.conf,
used to configure LDAP and other services.
passwd(5), shadow(5), pwconv(1), domainname(1), ypbind(8), nsswitch.conf(5)
Preston Brown <pbrown@redhat.com>, Matt Wilson <msw@redhat.com>
![]() |
authconfig(8) | ![]() |