4-12
Cisco PGW 2200 Softswitch Release 9.8 Software Installation and Configuration Guide
OL-18083-01
Chapter 4 Configuring the Cisco PGW 2200 Softswitch Software
Configuring Groups and Users
# useradd -u UID -g mgcgrp -d /opt/CiscoMGC/local -s /bin/csh -m username
UID is a user ID that is an integer from 0 through 2147483647 (excluding the numbers 0, 1, 2, 3, 4, 5,
9, 37, 71, 60001, 60002, and 65534, because they are used by the operating system).
Step 3 Add the new username to the mgcgrp group in the group file:
mgcgrp::20000:username
Note The group file is a comma-separated list of user names. If you add more than one user, use
commas (with no spaces) to separate one name in the list from another.
Step 4 Enter the following command and press Enter:
# passwd username
Step 5 Type the user’s password and press Enter twice when prompted.
Step 6 Log in to the Cisco PGW 2200 Softswitch as the new user.
Step 7 Enter the following command and press Enter:
% mml
The MML interface launches. To exit MML, type quit and press Enter.
This completes the procedure for adding a user with full MML privileges.
Adding a User with Minimal MML Privileges
To add a user with full MML privileges, complete the following steps.
Step 1 Log in to the Cisco PGW 2200 Softswitch host as root.
Step 2 Add a group with minimal MML privileges using the following command:
# groupadd minmml
Step 3 Prepare the .cshrc file for the group with minimal MML privileges using the following commands:
# mkdir /opt/CiscoMGC/local/minmml
# cp /opt/CiscoMGC/local/.cshrc /opt/CiscoMGC/local/minmml/.cshrc
# chgrp minmml /opt/CiscoMGC/local/minmml/.cshrc
Step 4 Add a user to the group with minimal MML privileges using the following command:
# useradd -g minmml -d /opt/CiscoMGC/local/minmml -s /bin/csh -m username
Step 5 Change the password for the newly added user using the following command.
# passwd username
Step 6 Type the user’s password and press Enter twice when prompted.
Step 7 Log in to the Cisco PGW 2200 Softswitch as the new user.
Step 8 Enter the following command and press Enter to verify the new user’s access privileges:
% mml