262
PCMCIA Cards Integration
This will create an entry in
/etc/passwd
that resembles this:
myUserName:$1$/3Qc1pGe$./h3hzkaJQJ/:503:503:Embedix
User,,,:/home/myUserName:/bin/sh
Step B: If you want to limit myUserName to getting ONLY PPP access and
NOT shell access to the server, edit the entry for myUserName in
/etc/passwd
.
Do this by replacing
/bin/sh
with a pathname to a script that you will be creating
later. In the following example, the script is:
/usr/ppp/ppplogin
myUserName:$1$/3Qc1pGe$./h3hzkaJQJ/:503:503:Embedix
User,,,:/home/myUserName:/usr/ppp/ppplogin
Step 6 - If you executed Step 5b, create the ppp login script.
Step A: Create a script called /etc/ppp/ppplogin following this format:
#!/bin/sh
exec /usr/local/sbin/pppd <ppp options>
Step B: Make script executable.
Type chmod 755
/etc/ppp/ppplogin
.
Step C: Save this file to flash.
Save this file to flash so the next time the ACS gets rebooted, you won't lose the
new file. Add
/etc/ppp/ppplogin
into
/etc/config_files
.
Now execute
saveconf
.
Step 7 - Change permission of pppd.
Type chmod u+s
/usr/local/sbin/pppd
TIP.
To prevent from always having to manually change permission every time your ACS
reboots:
1. Edit /etc/users_scripts by uncommenting the following line:
/bin/chmod_pppd
2. Add /etc/users_scripts into /etc/config_files.
3. Execute saveconf. The next time the ACS reboots, this change will be in effect. You should
not need to manually change the pppd permission.
Step 8 - Your ACS is ready to establish a callback connection.
See Client Side Setup to start the callback connection.
Содержание AlterPath ACS
Страница 16: ...xvi Table of Contents...
Страница 29: ...13 This page has been left intentionally blank...
Страница 30: ...14 Preface...
Страница 68: ...52 Device Access...
Страница 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Страница 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Страница 114: ...98 Authentication...
Страница 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Страница 268: ...252 Power Management with AlterPath PM Integration...
Страница 304: ...288 PCMCIA Cards Integration...
Страница 338: ...322 Profile Configuration...
Страница 364: ...348 Additional Features and Applications...
Страница 376: ...360 Appendix A New User Background Information...
Страница 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Страница 418: ...402 List of Tables...
Страница 420: ...404 List of Figures...