admslipuser(1M) TCP/IP 5.4R3.00 admslipuser(1M)
NAME
admslipuser - manage slipusers database
SYNOPSIS
admslipuser -o add -f flags -r remote -h local -m netmask paramstag
admslipuser -o modify [-f flags] [-r remote] [-h local] [-m netmask]
paramstag
admslipuser -o delete paramstag
admslipuser -o list [ -qv ] [ paramstag ... ]
where:
flags Slip link flags: c, e, and r preceded by + or -
remote The IP address assigned to the remote host
local The IP address assigned to the local host
netmask A number specifying the network mask
paramstag A tag specifying an entry in the slipusers database;
default for the list operation is to list all entries
DESCRIPTION
Admslipuser manages the /etc/slipusers database. This database
contains the SLIP initialization flags, remote IP address, local IP
address, and the network mask used by slipd(1C).
Operations
add Create a new /etc/slipusers entry.
modify Change an existing /etc/slipusers entry.
delete Remove an entry from the /etc/slipusers database.
list List one or more entries from the /etc/slipusers database.
Information is listed about each of the paramstag given; if
paramstag is all, information about all entries is listed.
Options
-f flags Specify the SLIP link initialization parameters using
flag values c, e, and r to control mandatory compressed
headers, header compression recognition, and default
routing. Prefixing the flag with + or - turns the option
on or off.
-r remote Specify the IP address assigned to the remote host. This
can be expressed either as a name (found in the hosts
database) or as an Internet address expressed in the
Internet standard dot notation.
-h local Specify the IP address assigned to the local host. This
can be expressed either as a name (found in the hosts
database) or as an Internet address expressed in the
Internet standard dot notation.
Licensed material--property of copyright holder(s) 1
admslipuser(1M) TCP/IP 5.4R3.00 admslipuser(1M)
-m netmask Identify (using Internet standard dot notation) which
bits of the host's Internet address indicate the subnet
number.
-q Behave quietly, producing an unformatted listing. Print
no headers and no comments, print each entry on a
separate line, and delimit fields within an entry with a
single space character.
-v Behave verbosely, producing a formatted listing with
headers and aligned columns. This is the default.
Output
The list operation writes its output to stdout.
The verbose form of the list operation outputs a header and the link
parameters for each paramstag name. Comments contained in the
/etc/slipusers database are suppressed. Information is printed in
aligned columns with column headers.
If -q option is specified with the list operation, headers and
comments are suppressed and each entry is printed on a separate line.
The fields within the entry are delimited by a single space, and are
in the following order:
paramstag flags remote local netmask
EXAMPLES
To add and then modify an entry granting access to a user named
Smith:
admslipuser -o add -f +c-e-r -r sl-rem -h sl-loc -m 255.255.255.0 smith
admslipuser -o modify -f -c-e-r smith
FILES
/etc/slipusers Local SLIP link parameters database file
DIAGNOSTICS
Warnings
None.
Errors
⊕ The add operation is requested, and params_tag already exists
in the /etc/slipusers database.
⊕ The delete or modify operation is requested, and paramstag
does not exist in the /etc/slipusers database.
⊕ The IP address is invalid.
⊕ The network mask is invalid.
Licensed material--property of copyright holder(s) 2
admslipuser(1M) TCP/IP 5.4R3.00 admslipuser(1M)
Exit Codes
0 The operation was successful.
1 The operation was unsuccessful.
2 The operation failed due to access restrictions.
3 There was an error in the command line.
SEE ALSO
slipd(1C), sysadm(1M), slipusers(4M).
NOTES
You must have write permission to the /etc/slipusers database to use
the add, delete, and modify operations. Usually, only the superuser
has such permission.
Licensed material--property of copyright holder(s) 3