admslipdial(1M) DG/UX R4.11MU05 admslipdial(1M)
NAME
admslipdial - manage slipdialinfo database
SYNOPSIS
admslipdial -o add -s 'send-expect-string' dialsystem
admslipdial -o modify [ -n newdialsystem ] [ -s 'send-expect-string'
] dialsystem
admslipdial -o delete dialsystem
admslipdial -o list [ -qv ] [ dialsystem ... ]
where:
send-expect-string
A white-space delimited series of strings that are sent
to the modem (port) and received in response
dialsystem The name of an entry in the slipdialinfo database
newdialsystem
The new name to assign to an entry in the slipdialinfo
database
DESCRIPTION
Admslipdial manages the /etc/slipdialinfo database. This database
contains the SLIP send-expect dialstrings utilized by slipd(1C).
Operations
add Create a new slipdialinfo entry.
modify Change an existing slipdialinfo entry.
delete Remove an entry from the slipdialinfo database.
list List one or more entries from the slipdialinfo database.
Information is listed about each of the dialsystems given; if
dialsystem is unspecified, information about all entries are
listed.
Options
-s send-expect-string
Specify strings to be sent to the modem (port) and received in
response to establish a remote asynchronous connection. send-
expect-string must be enclosed in single quote marks ('') to
avoid special shell interpretation.
-n newdialsystem
Specify the new dialsystem name to assign to an existing
slipdialinfo entry.
-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 send-
expect-strings for each dialsystem name. Comments contained in the
/etc/slipdialinfo 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:
dialsystem send-expect-string
EXAMPLES
To add dial-out/initialization information for a user named Smith:
admslipdial -o add -s \
'ATDT1234 CON \r gin: name word: pswd $ exec\sslipd SLIP' smith
To change the dialsystem name from smith to jones:
admslipdial -o modify -n jones smith
FILES
/etc/slipdialinfo Local SLIP dialer database file.
DIAGNOSTICS
Warnings
None.
Errors
· The add operation is requested, and dialsystem already exists in
the slipdialinfo database.
· The delete or modify operation is requested, and dialsystem does
not exist in the slipdialinfo database.
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), slipdialinfo(4M).
capdefaults(5), appropriateprivilege(5).
NOTES
You must have write permission to the slipdialinfo database to use
the add, delete, and modify operations. Usually, only a user with
the appropriate privilege has such permission. For systems
supporting the DG/UX Capability Option, appropriate privilege is
defined as having one or more specific capabilities enabled in the
effective capability set of the user. See capdefaults(5) for the
default capabilities for this command.
On systems without the DG/UX Capability Option, appropriate privilege
means that your process has an effective UID of root. See the
appropriateprivilege(5) man page for more information.
Licensed material--property of copyright holder(s)