|
|
Users Section
The [Users] section of the configuration file defines users for the Shiva® device and configures permissions and privileges for each user.
Parameter
<user name>
Description
|
Defines a user name and the permissions and other privileges for this user
The types of options you may set in the <user name> parameter in the [Users] section are grouped into the following categories:
- · Permission Flags
- · Passwords
- · DialBack
- · IP Features
- · Other Privileges
|
Syntax
|
See Syntax of <user name> that follows.
|
Default
|
Unset
|
Examples
|
Joshua=/di/do/sh/fd /db=16178881111 /db2=16178882222 /max=10 /ip=140.248.132.1 /ppwd=tree
Adam=/di/do/sh/cf/tp/fd /db=16178882222 /max=20 /ip=140.248.159.3 /ml=2 /ppwd=eve
L2FHomeGateway7=/l2f/ppwd=seven
|
Reboot
|
Required
|
Syntax of <user name>
Specify each user name on a separate line, using the following format:
<user name>=<permission flags> <passwords> |
<dial-back options> <IP features> <other fields>
Note: The square brackets ([ ]) indicate optional parameters. The pipe symbol ( | ) indicates that the command continues on the next line.
|
Syntax
|
Definition
|
<user name>
|
Specifies a 1- to 48-character user name
|
<permission flags>
|
See the Permission Flags table that follows.
|
<passwords>
|
Specifies whether you enter passwords in plain text (/ppwd) or in encrypted format (/pwd)
All passwords, however, are stored and displayed in encrypted format.
Syntax:
/ppwd=<password>
or
/pwd=<password>
If you use /ppwd=<password>:
<password> is a 1- to 16-character password in plain text.
If you use /pwd=<password>:
<password> is a 1- to 19-character password in encrypted format.
|
<dial-back options>
|
Specifies the first or second stored dial-back telephone number
Syntax for specifying one dial-back phone number:
/db=<1- to 64-character dial-back telephone number>
Syntax for specifying a second dial-back phone number:
/db2=<1- to 64-character dial-back telephone number>
Note: You can use both /db and /db2 for one user.
|
<IP features>
|
Specifies the following options for the user:
· /ip=<user's IP address>
· /ipf=<ip filter>
· /ipst=<dest>,<next hop>, |
<mask>,<metric>[;<dest2>,|
<next hop>,<mask>,<metric>]
· /ipd=<IP address of next hop>
See the Flags for IP Features table that follows for a description of these flags.
|
<other privileges>
|
Specifies flags for the following privileges:
- · /max=<maximum number of minutes that the user may be connected over a dial-in connection>
- · /ml=<maximum number of links>
- · /ba=<text string describing user billing information>
- · /cmd=<shell command to be automatically executed>
- · /menu=<name to assign to a shell menu>
- · /nbp=<NBP filter number> [,<NBP filter number>] [,<NBP filter number>] ...
See the Flags for Other Privileges table that follows for a description of these options.
|
You may configure the following permission flags for the user:
|
Permission Flags
|
Definition
|
/cf
|
User may view configuration.
|
/di
|
User may use dial-in.
|
/do
|
User may use dial-out.
|
/fd
|
User may dial back to a stored telephone number.
|
/l2f
|
User can be the peer of an L2F tunnel. The peer's authentication name is the user name, and the password is entered with the /ppwd command.
Note: This flag does not give the user permission to use L2F on a dial-in session. All L2F authorization is done by the Home Gateway.
|
/rd
|
User may dial back at a user-provided number.
|
/rt
|
User may use a LAN-to-LAN connection.
|
/sh
|
User may access the shell.
|
/tp
|
User may use telnet and ping shell commands.
|
You may configure the following flags for IP features for the user:
|
Flags for IP Features
|
Definition
|
/ip=<IP address>
|
Specifies the IP address for the user in dotted-decimal format
|
/ipf=<ip filter>
|
Specifies an IP filter for the user
The filter can be configured directly in this option, or this option can specify the name of a filter configured in the [UserIPFilters] section.
|
/ipst=<dest>, <next hop>, <mask>,<metric>
|
Defines an IP static route with the following information:
- · <dest> is the destination IP network address
- · <next hop> is the IP address of the next hop
- · <mask> is the network mask
- · <metric> is the route metric
|
/ipd=<addr>
|
Specifies the IP address of the next hop, in dotted- decimal format for all packets
|
The following table describes the flags for other privileges:
|
Flags for Other Privileges
|
Definition
|
/ba=<billing account-string>
|
Specifies a 1- to 20-character name that indicates who to bill for the connect time of this user
|
/cmd=<command shell command>
|
Automatically executes a specified shell command
When the command completes, the shell exits.
Example: /cmd=connect,pool
|
/max=<integer>
|
Specifies the number of minutes the user can stay connected for dial-in
This parameter does not apply to LAN-to-LAN connections for dial-out.
|
/menu=<menu name>
|
See the configuration file [Shell:Menu] section.
|
/max=<integer>
|
Specifies the number of minutes the user can stay connected for dial-in
This parameter does not apply to LAN-to-LAN connections for dial-out.
|
/ml=<integer>
|
Specifies the maximum number of links
This parameter applies only to single dial-in users.
|
/nbp=<NBP filter number1>[; NBP filter number 2]
|
Specifies filter numbers that correspond to NBP filters in the [UserNBPFilter] section
Note: The filter numbers create an ordered list of filters.
|
/sfi=[IPX SAP filter name1][;IPX SAP filter name 2][;IPX SAP filter definition]
|
Specifies an ordered list of semicolon-delimited inbound IPX SAP filter names or definitions (or a combination of names and definitions) for this user
<IPX SAP filter name> is the name of an IPX SAP filter defined in the [IPXSAPFilters] section. You must define the IPX SAP filters that you list here by name.
<IPX SAP filter definition> specifies an IPX SAP filter. See IPXSAPFilters Section for a description of the syntax of an IPX SAP filter.
|
/sfo=[IPX SAP filter name1][;IPX SAP filter name 2][;IPX SAP filter definition]
|
Specifies an ordered list of semicolon-delimited outbound IPX SAP filter names or definitions (or a combination of names and definitions) for this user
<IPX SAP filter name> is the name of an IPX SAP filter defined in the [IPXSAPFilters] section.
<IPX SAP filter definition> specifies an IPX SAP filter. See IPXSAPFilters Section for a description of the syntax of an IPX SAP filter.
|
Related Information
Parameter Sections Overview
[ Top of Page . . . ]
|