diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-25 17:14:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-25 17:14:36 +0000 |
commit | a10128c072ca9a29054ef9e10d55a97be6126cf8 (patch) | |
tree | 58b5f2cd16e9a6b7f2b498fa13b8e53dd44395ef /cpukit/telnetd | |
parent | 2007-09-25 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-a10128c072ca9a29054ef9e10d55a97be6126cf8.tar.bz2 |
2007-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* telnetd/passwd.h: New file.
Diffstat (limited to 'cpukit/telnetd')
-rw-r--r-- | cpukit/telnetd/passwd.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/cpukit/telnetd/passwd.h b/cpukit/telnetd/passwd.h new file mode 100644 index 0000000000..e6f15f7d84 --- /dev/null +++ b/cpukit/telnetd/passwd.h @@ -0,0 +1,27 @@ +/* $Id$ */ + +/* Define a default password for telnetd here. + * NOTES: + * - this can be overridden at run-time by setting + * the "TELNETD_PASSWD" environment variable. + * As soon as that variable is set, the new password + * is effective - no need to restart telnetd. + * - this must be set to an _encrypted_ password, NOT + * the cleartext. Use the 'genpw' utility to generate + * a password string: + * + * 1) Compile 'genpw.c' for the HOST, i.e. + * cc -o genpw genpw.c -lcrypt + * 1) delete an old password definition from this file. + * 2) run './genpw >> passwd.h'. This will append + * a new definition to this file. + * + * - if no password is defined here, no authentication + * is needed, i.e. telnet is open to the world. + * + * T. Straumann <strauman@slac.stanford.edu> + */ + +/* #undef TELNETD_DEFAULT_PASSWD */ +/* Default password: 'rtems' */ +#define TELNETD_DEFAULT_PASSWD "tduDcyLX12owo" |