defadm(1M) defadm(1M)
NAME
defadm - display/modify default values
SYNOPSIS
defadm
defadm [filename [name[=value]] [name[=value]] [. . .]]
defadm [-d filename name [name] [. . .]]
DESCRIPTION
The defadm command prints, modifies, adds, or deletes system
and command default values contained in the file given by
filename; where filename is a file in the /etc/default
directory.
If defadm is executed with no arguments, it lists the files in
the /etc/default directory.
If defadm is given a filename, it prints all the defaults
contained in filename. If one or more names are specified
together with a filename, then defadm prints the specified
names together with their values.
If defadm is given a filename and one or more names and
values, then the default file is modified so that the name is
set to the respective value. If the value is an empty string,
the name has a null value. When using defadm to display the
value of name, if name is not found, a warning message is
printed and processing continues.
If defadm is given the -d option, a filename, and one or more
names, it removes the specified names from the filename.
FILES
/etc/default/* directory of files containing system or
command default values
REFERENCES
cron(1M), login(1), passwd(1), su(1M), useradd(1M),
userdel(1M)
DIAGNOSTICS
The defadm command exits with one of the following values:
0 SUCCESS.
Copyright 1994 Novell, Inc. Page 1
defadm(1M) defadm(1M)
1 UX:defadm: ERROR: invalid option
2 UX:defadm: ERROR: directory /etc/default does not
exist
3 UX:defadm: ERROR: cannot access directory
/etc/default
4 UX:defadm: ERROR: file filename does not exist
5 UX:defadm: ERROR: cannot access file filename
6 UX:defadm: WARN: name name does not exist
7 UX:defadm: ERROR: file filename is locked, try again
later
8 UX:defadm: ERROR: unexpected error
Copyright 1994 Novell, Inc. Page 2