From: yedidya@bimacs.BITNET (Yedidya Israel)
Subject: Re: Single user booting of DECStations and security
Date: 17 Apr 90 12:27:53 GMT [thread overview]
Message-ID: <1399@bimacs.BITNET> (raw)
In-Reply-To: 1990Apr5.123703.2251@maths.tcd.ie
In article <1990Apr5.123703.2251@maths.tcd.ie> ajudge@maths.tcd.ie (Alan Judge) writes:
>Has anybody come up with a satisfactory method of preventing users from
>resetting DECStations and booting into single user mode?
>I am thinking of implementing this by running a program from /.profile which
>detects single user mode (somehow? getpid() == 3?), disables interrupts,
>and demands the root password.
I made the same on workstations, I don't think it differ on
decstations.
ASSUME that root uses csh (not sh!!!) when login, you would not have
to check for single user. /.profile will be executed only in single
user mode.
/bin/login is a symlink to /usr/bin/login, in single user /usr is not
always available and if not you will find yourself in trouble. So rm
the link and make a real copy of login in /bin. Csh must get the same
treatment,
Another point to remember is that on Ultrix workstations /etc/ttys is
usually configured to eliminate login on console (and enable ::0 - X
vitual terminal - instead). Keep it off but mark it as secure (if you
did not make it already).
Now include these lines in /.profile
echo -n "Single user "
login root
Test it before you trust it.
--
| Israel Yedidya, Math & CS Department, Bar-Ilan U, Ramat-Gan, ISRAEL. |
+----------------------------------------------------------------------+
| Bitnet: yedidya@bimacs |
| Internet: yedidya@bimacs.biu.ac.il |
| Arpa: yedidya%bimacs.bitnet@cunyvm.cuny.edu |
| Uucp: ...!uunet!mcvax!humus!bimacs!yedidya |
| Csnet: yedidya%bimacs.bitnet%cunyvm.cuny.edu@csnet-relay |
\----------------------------------------------------------------------/
\--- If someone proves there is no God, I'll stop being religious ---/
--------------------------------------------------------------------
next prev parent reply other threads:[~1990-04-17 12:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1990-04-05 12:37 Single user booting of DECStations and security Alan Judge
1990-04-05 17:06 ` Roland Schemers III
1990-04-17 12:27 ` Yedidya Israel [this message]
1990-04-17 16:50 ` Ian! D. Allen [CGL]
1990-04-18 12:48 ` Robert Macomber
1990-04-19 12:08 ` Yedidya Israel
1990-04-20 22:23 ` Rob Burrowes
1990-04-28 5:03 ` Jason Heirtzler
1990-04-17 19:59 ` Richard Wood
1990-04-17 22:35 ` Eduardo Santiago
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox