55-freebsd-126-freebsd-12freebsd-9.3
Last change
on this file since 65c65bb was
a197a48,
checked in by Sebastian Huber <sebastian.huber@…>, on 09/18/14 at 07:49:32
|
telnetd: Import from RTEMS sources
|
-
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.