source: rtems/cpukit/telnetd/passwd.h @ b597c0d

4.115
Last change on this file since b597c0d was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 921 bytes
Line 
1/* Define a default password for telnetd here.
2 * NOTES:
3 *  - this can be overridden at run-time by setting
4 *    the "TELNETD_PASSWD" environment variable.
5 *    As soon as that variable is set, the new password
6 *    is effective - no need to restart telnetd.
7 *  - this must be set to an _encrypted_ password, NOT
8 *    the cleartext. Use the 'genpw' utility to generate
9 *    a password string:
10 *
11 *    1) Compile 'genpw.c' for the HOST, i.e.
12 *         cc -o genpw genpw.c -lcrypt
13 *    1) delete an old password definition from this file.
14 *    2) run './genpw >> passwd.h'. This will append
15 *       a new definition to this file.
16 *
17 *  - if no password is defined here, no authentication
18 *    is needed, i.e. telnet is open to the world.
19 *
20 *    T. Straumann <strauman@slac.stanford.edu>
21 */
22
23/* #undef TELNETD_DEFAULT_PASSWD */
24/* Default password: 'rtems' */
25#define TELNETD_DEFAULT_PASSWD "tduDcyLX12owo"
Note: See TracBrowser for help on using the repository browser.