paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 1 | @node VTY shell |
| 2 | @comment node-name, next, previous, up |
| 3 | @chapter VTY shell |
| 4 | |
| 5 | @command{vtysh} is integrated shell of Zebra software. |
| 6 | |
| 7 | To use vtysh please specify ---enable-vtysh to configure script. To use |
| 8 | PAM for authentication use ---with-libpam option to configure script. |
| 9 | |
| 10 | vtysh only searches @value{INSTALL_PREFIX_ETC} path for vtysh.conf which |
| 11 | is the vtysh configuration file. Vtysh does not search current |
| 12 | directory for configuration file because the file includes user |
| 13 | authentication settings. |
| 14 | |
| 15 | Currently, vtysh.conf has only one command. |
| 16 | |
| 17 | @example |
| 18 | ! |
| 19 | username foo nopassword |
| 20 | ! |
| 21 | @end example |
| 22 | |
| 23 | With this set, user foo does not need password authentication for user vtysh. |
| 24 | With PAM vtysh uses PAM authentication mechanism. |
| 25 | |
| 26 | If vtysh is compiled without PAM authentication, every user can use vtysh |
| 27 | without authentication. |