RTEMS CPU Kit with SuperCore
4.11.2
|
#include <termios.h>
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#include <rtems/telnetd.h>
#include "passwd.h"
Functions | |
char * | __des_crypt_r (const char *, const char *, char *, int) |
bool | rtems_telnetd_login_check (const char *user, const char *passphrase) |
Standard Telnet login check that uses DES to encrypt the passphrase. More... | |
bool rtems_telnetd_login_check | ( | const char * | user, |
const char * | passphrase | ||
) |
Standard Telnet login check that uses DES to encrypt the passphrase.
Takes a passphrase, encrypts it and compares it to the encrypted passphrase in the TELNETD_PASSWD
environment variable. No password is required if TELNETD_PASSWD
is unset. The argument user is ignored.