The bases for password management in the ChorusOS operating system are the classical /etc/master.passwd and /etc/group files. The ChorusOS operating system provides regular routines to access these files. These databases can be supported by either local files, NIS, or LDAP.
For details of password management, see the ChorusOS 5.0 System Administrator's Guide.
The password management API is summarized in the following table:
Function |
Description |
---|---|
ldap.conf() |
LDAP configuration file |
getpwuid() |
Password database operation |
getgrent() |
Group database operation |
getgrgid() |
Group database operation |
getgrnam() |
Group database operation |
setgroupent() |
Group database operation |
setgrent() |
Group database operation |
endgrent() |
Group database operation |
getpwent() |
Group database operation |
getpwnam() |
Group database operation |
getpwuid() |
Group database operation |
setpassent() |
Group database operation |
setpwent() |
Group database operation |
endpwent() |
Group database operation |
getusershell() |
Password database operation |
pwd_mkdb() |
Generate password databases |
passwd() |
Modify a user's password |
group() |
Format of the group permissions file |