badmin
badmin [-UuVv] [-qo outfile] [-qe errfile] –chkuser <user> | –chkgroup –ostype
Available options are:
-
–U/u
: Print usage. -
–V/v
: Print release number. -
–qo outfile
: Redirect standard output to file outfile. -
–qe errfile
: Redirect error output to file errfile. -
–chkuser <user>
: Returns a 0 if user exists, otherwise, returns a 1. -
–chkgroup <group>
: Returns a 0 if group exists, otherwise, returns a 1. -
–chkpwd <user>
: Returns a 0 if successful, otherwise, returns a 1. -
–getpwd <user>
: Returns a 0 if successful, otherwise, returns a 1. -
–ostype <ostype>
: Returns 0 if the operating system is ostype, otherwise, returns a 1. Ostype can be either Windows or UNIX. -
–P
: Tag for aged password notification, which is only effective with other flags.