|
Elektra
0.8.18
|
This plugin parses passwd files, e.g. /etc/passwd.
If present, the not-posix compliant fgetpwent function will be used to read the file supplied by the resolver, otherwise getpwent will be used. For writing, if present, putpwent will be used, if not a simple implementation writing straight to the config file.
If the config key index is set to name passwd entrys will be sorted by name, if not set or set to uid passwd entries will be sorted by uid
gecos contains the full name of the accountgid contains the accounts primary group idhome contains the path to the accounts home directoyshell contains the accounts default shelluid contains the accounts uidname contains the account name``` kdb mount /etc/passwd system/passwd passwd index=name kdb export system/passwd/root
gecos = root gid = 0 home = /root passwd = x shell = /bin/zsh uid = 0 ```
1.8.8