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