SUMMARY: disabling rlogin on NIS host.

From: Jeff Tate (odinba!odin!jeff@uunet.UU.NET)
Date: Mon Dec 13 1993 - 17:27:14 CST


----------
X-Sun-Data-Type: text
X-Sun-Data-Description: text
X-Sun-Data-Name: text
X-Sun-Content-Lines: 29

Thanx to the multitude of responders. As several pointed out, the answer
can be found in passwd(5), but I must have just misread this in the past.

Anyway, the best answer is to have:

        +@admin::0:0:::
        +:0:0:::/bin/under-no-circumstances-may-you-login

in the local passwd file. Ths first lets allowed administrators in, the
second keeps the rabble out, yet still allows their id to be valid for
mail resolution.

Ths source for the `under-no-circumstances-may-you-login' file is appended
(thanx to ricky@fibronics.co.il) and thanx to the more than fifty other
responders

Jeff Tate

  $ **************************************************************** $
  $ Jeff Tate Voice: (415) 622 0890 $
  $ Manager, RMP Systems Fax: (415) 622 2234 $
  $ Bank of America #5906 $
  $ 315 Montgomery Street e-mail: jeff@BofA.COM $
  $ San Francisco, CA 94104 ...!uunet!odinba!jeff $
  $ **************************************************************** $

----------
X-Sun-Data-Type: mail-file
X-Sun-Data-Name: mailfile0
X-Sun-Encoding-Info: uuencode
X-Sun-Content-Lines: 36

begin 600 mailfile0
M1G)O;2!U=6YE="%F:6)R;VYI8W,N8V\N:6PA<FEC:WD@4W5N($1E8R Q,B Q
M,#HS-#HQ,2 Q.3DS"D9R;VTZ(%)I8V%R9&\@36%R96L@/'5U;F5T(69I8G)O
M;FEC<RYC;RYI;"%R:6-K>3X*4W5B:F5C=#H@4F4Z($1I<V%B;&EN9R!R;&]G
M:6XL(&ME97!I;F<@;6%I; I4;SH@;V1I;F)A(6]D:6XA:F5F9@I$871E.B!3
M=6XL(#$R($1E8R Q.3DS(#$X.C0P.C$Q("LP,C P("A%150I"DUI;64M5F5R
M<VEO;CH@,2XP"D-O;G1E;G0M5'EP93H@=&5X="]P;&%I;CL@8VAA<G-E=#U5
M4RU!4T-)20I#;VYT96YT+51R86YS9F5R+45N8V]D:6YG.B X8FET"D-O;G1E
M;G0M3&5N9W1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(" @(" @(" @(" @
M(UQN7 HC("!9;W4@87)E(&YO="!A;&QO=V0@=&\@=7-E('1H:7,@("-<;EP*
M(R @:&]S="!F;W(@;&]G:6X@<V5S<VEO;G,N(" @(" @(" C7&Y<"B,@(%%U
M97-T:6]N<R!T;SH@(" @(" @(" @(" @(" @(" @(UQN7 HC(" @('!O<W1M
M87-T97) >6]U<BUD;VUA:6X@(" @(" @("-<;EP*(R @(" @(" @(" @(" @
M(" @(" @(" @(" @(" @(" @(" C7&Y<"B,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(UQN(CL*;6%I;B@I"GL*"7=R:71E*#$L;65S<V%G
M92QS:7IE;V8H;65S<V%G92DI.PH)97AI="@P*3L*?0HM+2TM+2TM+2TM+2TM
H+2TM+2T@8W5T(&AE<F4@+2TM+2TM+2TM+2TM+2TM+2TM+2TM"@H*"BTM
 
end



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:33 CDT