From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1dd30140134888ce X-Google-Attributes: gidfee84,public From: Nikola Milutinovic Subject: Re: securetty Date: 1998/06/23 Message-ID: <3590000B.50B08073@EUnet.yu>#1/1 X-Deja-AN: 365417389 Content-Transfer-Encoding: 7bit References: <358FE4FB.AD418B11@ife.ee.ethz.ch> Content-Type: text/plain; charset=us-ascii Organization: Me organized? Not here! Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Tom Goessi wrote: > > Hi > > Can anyone tell my what an enrty I must put into the etc/securettys file > > that I can login as root from another account on the same machine with > the command su - but so that root-login is disabled from another > machine? (that was a little confusing) All entries in /etc/securettys describe "trusted" login-capable devices. Root logins are allowed from these. Entry for telnet/rlogin/ssh is "ptys". Remove it and nobody can login as root from the network. Command "su" is not a login. It is "set user" or "substitute user", you do not login, you just gain privileges of another user. On Digital UNIX, in order to su to another user, you and that user must have at least one group in common. In other words, to su to root from account tom, tom must be in group system. Nix.