Black Box ACS120 Guida Utente Pagina 204

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 203
PCMCIA
204 BLACK BOX ® Advanced Console Server
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 BLACK BOX ® Advanced Console Server
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
Step 8: Your BLACK BOX ® Advanced Console Server is ready to establish a callback connec-
tion.
See Client Side Setup to start the callback connection.
Vedere la pagina 203
1 2 ... 199 200 201 202 203 204 205 206 207 208 209 ... 449 450

Commenti su questo manuale

Nessun commento