tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: stty erase WTF
> There are two solutions to this:
> 1. Remove completely the tset setup from root's .profile.
> [...]
I support this option, for what that may be worth. From my
gitification of 5.2:
commit 06cce79581bfd79a168ad7b143193012d9309f3b
Author: Mouse <mouse%Rodents-Montreal.ORG@localhost>
Date: Fri Feb 15 19:13:36 2013 -0500
Shut off that annoying tset and "We recommend..." for root logins.
diff --git a/etc/root/dot.login b/etc/root/dot.login
index 4e22298..ecc5faa 100644
--- a/etc/root/dot.login
+++ b/etc/root/dot.login
@@ -1,8 +1,8 @@
# $NetBSD: dot.login,v 1.8 2000/02/19 19:00:13 mycroft Exp $
-eval `tset -sQrm 'unknown:?unknown'`
+# eval `tset -sQrm 'unknown:?unknown'`
-# Do not display in 'su -' case
-if ( ! $?SU_FROM ) then
- echo "We recommend creating a non-root account and using su(1) for root access."
-endif
+# # Do not display in 'su -' case
+# if ( ! $?SU_FROM ) then
+# echo "We recommend creating a non-root account and using su(1) for root access."
+# endif
diff --git a/etc/root/dot.profile b/etc/root/dot.profile
index 3a5b9b9..5435e00 100644
--- a/etc/root/dot.profile
+++ b/etc/root/dot.profile
@@ -11,16 +11,16 @@ export BLOCKSIZE=1k
export HOST="$(hostname)"
-if [ -x /usr/bin/tset ]; then
- eval `tset -sQrm 'unknown:?unknown'`
-fi
+# if [ -x /usr/bin/tset ]; then
+# eval `tset -sQrm 'unknown:?unknown'`
+# fi
umask 022
#ulimit -c 0
export ENV=/root/.shrc
-# Do not display in 'su -' case
-if [ -z "$SU_FROM" ]; then
- echo "We recommend creating a non-root account and using su(1) for root access."
-fi
+# # Do not display in 'su -' case
+# if [ -z "$SU_FROM" ]; then
+# echo "We recommend creating a non-root account and using su(1) for root access."
+# fi
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index