Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!ucsd!ucbvax!husc6!rice!sun-spots-request From: galvin-peter@cs.yale.edu (Peter Baer Galvin) Newsgroups: comp.sys.sun Subject: Re: Asking for root passwd when booting single use Message-ID: <46043@yale-celray.yale.UUCP> Date: 30 Dec 88 06:17:37 GMT References: <2351@kalliope.rice.edu> Sender: usenet@rice.edu Organization: STC Technology Limited, London Road, Harlow, Essex, UK Lines: 30 Approved: Sun-Spots@rice.edu Original-Date: 19 Dec 88 16:11:27 GMT X-Sun-Spots-Digest: Volume 7, Issue 79, message 8 of 11 I said: > On "lesser" versions, you can put the command > login root > as the first line of the file /.profile but only if root uses the csh > shell by default. Bruce Barnett said: > If you value your disk DO NOT DO THIS! I pointed this out in my original posting, but I guess Bruce decided not to include that in his quote. At any rate, it does have the potential to be a problem. He have 70 sun workstation and 7 servers here and ran in this configuration for 6 months or so without any problems, so I don't think a blanket "dont do this" is appropriate. If your workstation's disk nd partition gets trashed just shut it down and fsck the nd partition from the server. (fsck /dev/ndlX, where X depends on the contents of you nd.local file.) If that doesn't fix the problem you can always use "dd" to copy the contents of another workstations nd partition over the "broken" contents (assuming the nd's are the same size, as they are here). In short you should be aware the risks and evaluate them against the security gain at your site. And I try not to give advice that will cause your disk to be trashed! --Peter Peter Baer Galvin (203)432-1254 Senior Systems Programmer, Yale Univ. C.S. galvin-peter@cs.yale.edu 51 Prospect St, P.O.Box 2158, Yale Station ucbvax!decvax!yale!galvin-peter New Haven, Ct 06457 galvin-peter@yalecs.bitnet