summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libutil')
-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 0b86490..a0d96df 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 2cd65bd..478d9b2 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 }
};
OpenPOWER on IntegriCloud