RTEMS: cpukit/include/rtems/passwd.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
passwd.h
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"