-
-
Notifications
You must be signed in to change notification settings - Fork 3
printass.1
printass - print users/assign, users/cdb entries
printass [ -dug ] [ user user ... ]
printass prints entries from /etc/indimail/users/assign file or /etc/indimail/users/cdb binary cdb file. If user argument is not given, it prints all entries from users/assign file. If user argument is given, it prints entries from /etc/indimail/users/cdb for all user arguments passed on the command line.
Without the d, u and g arguments, printass prints the directory, uid and gid for the user. The options can be used to print only the directory the uid, the gid or combination of directory, uid, gid entries.
printass exits 111 in case of error, else it exits 0. It can be used in scripts to automate processing of users, domains configured in users/assign file.
-d
Display the directory.
-u
Display the uid.
-g
Display the gid.