Asking for root passwd when booting single user

Marco S. Hyman hsfmsh!mhyman at sun.com
Thu Dec 22 19:14:58 AEST 1988


A method better than a vinilla "login root" in /.profile is:

	trap "" 1 2 3 15
	while true; do
		/bin/login root
	done

This assumes the default Bourne Shell is used.

--Marc
.....
Marco S. Hyman
UUCP:	...!sun!sfsun!hsfmsh!mhyman
Domain:	sfsun!hsfmsh!mhyman at sun.com



More information about the Comp.sys.sun mailing list