Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* securetty
@ 1998-06-23  4:00 Tom Goessi
  1998-06-23  4:00 ` securetty Nikola Milutinovic
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Goessi @ 1998-06-23  4:00 UTC (permalink / raw)



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?
If I enter ptys into the securettys-file, I can login as root from
another account
on the same machine, but I can also login directly from another machine
as root
with the 'rlogin <machinename> -l root' command.
The sense of this is to administrate the machine over the network, but
prevent
the machine from cracking root-passwords over the net.
First I login with another account from another machine to the
DEC-machine
with 'rlogin <machinename> -l <name>'. Then I want invoke 'su -' or 'su
root'
to become root-user to administrate this machine.
Please tell me, what an entry I must put into the securettys-file.

Thank you

Tom




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: securetty
  1998-06-23  4:00 securetty Tom Goessi
@ 1998-06-23  4:00 ` Nikola Milutinovic
  0 siblings, 0 replies; 2+ messages in thread
From: Nikola Milutinovic @ 1998-06-23  4:00 UTC (permalink / raw)



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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-06-23  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-23  4:00 securetty Tom Goessi
1998-06-23  4:00 ` securetty Nikola Milutinovic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox