summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2000-01-19 10:54:44 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2000-01-19 10:54:44 +0000
commit36807a7b258a2225191d71a47cd52453935a44ce (patch)
tree2d6703064be7e6928d4169a5a260e684707ab56a
parent810ce16d54df722a1c12e275626d9dc8e3ce6593 (diff)
Notes
-rw-r--r--lib/libutil/login.conf.52
-rw-r--r--lib/libutil/login_class.c6
2 files changed, 2 insertions, 6 deletions
diff --git a/lib/libutil/login.conf.5 b/lib/libutil/login.conf.5
index 0b86490dfec9..a0d96dfeb7b1 100644
--- a/lib/libutil/login.conf.5
+++ b/lib/libutil/login.conf.5
@@ -188,7 +188,7 @@ values to which they are to be set.
.It shell prog Session shell to execute rather than the
shell specified in the passwd file. The SHELL environment variable will
contain the shell specified in the password file.
-.It term string su Default terminal type if not able to determine from
+.It term string Default terminal type if not able to determine from
other means.
.It timezone string Default value of $TZ environment variable.
.It umask number 022 Initial umask. Should always have a leading 0 to
diff --git a/lib/libutil/login_class.c b/lib/libutil/login_class.c
index 2cd65bde96b2..478d9b22cd5f 100644
--- a/lib/libutil/login_class.c
+++ b/lib/libutil/login_class.c
@@ -41,10 +41,6 @@
#include <sys/rtprio.h>
-#undef UNKNOWN
-#define UNKNOWN "su"
-
-
static struct login_res {
const char *what;
rlim_t (*who)(login_cap_t *, const char *, rlim_t, rlim_t);
@@ -124,7 +120,7 @@ static struct login_vars {
{ "lang", "LANG", NULL },
{ "charset", "MM_CHARSET", NULL },
{ "timezone", "TZ", NULL },
- { "term", "TERM", UNKNOWN },
+ { "term", "TERM", NULL },
{ NULL, NULL, NULL }
};