Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* enable su?
@ 1998-12-16  5:00 Leonid Muratov
  1998-12-16  5:00 ` Rocky
  1998-12-17  5:00 ` Tim Llewellyn
  0 siblings, 2 replies; 5+ messages in thread
From: Leonid Muratov @ 1998-12-16  5:00 UTC (permalink / raw)


Dear NewsGroup,

Our new DEC-UNIX 4.0 workstations came with su and root logins (from
other then consol terminals)  disabled by SIA ( I think so). Su attempt
results in the following message:
"You do not have permission to su root"

Can anybody tell me how to control this (set/reset the permission)?

Leon
new to DECompaq

-
-------------------------------------------
Leon Muratov,          lmuratov@wvu.edu
Research Scientist
Physics, Box 6315,
West Virginia University
Morgantown, WV 26506-6315
Phone: (304)293-3422 ext 1449  fax: (304)293-5732
--------------------------------------------



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

* Re: enable su?
  1998-12-16  5:00 enable su? Leonid Muratov
@ 1998-12-16  5:00 ` Rocky
  1998-12-18  5:00   ` Rolf Hauck
  1998-12-19  5:00   ` Rocky
  1998-12-17  5:00 ` Tim Llewellyn
  1 sibling, 2 replies; 5+ messages in thread
From: Rocky @ 1998-12-16  5:00 UTC (permalink / raw)


Leon,

To give a user the ability to su to root add their login name to the
system line in the /etc/group file.  To allow root logins over the
network add the line

ttys

as the last line in the /etc/securettys file.

Regards,

Rocky

Leonid Muratov wrote:
> 
> Dear NewsGroup,
> 
> Our new DEC-UNIX 4.0 workstations came with su and root logins (from
> other then consol terminals)  disabled by SIA ( I think so). Su attempt
> results in the following message:
> "You do not have permission to su root"
> 
> Can anybody tell me how to control this (set/reset the permission)?
> 
> Leon
> new to DECompaq
> 
> -
> -------------------------------------------
> Leon Muratov,          lmuratov@wvu.edu
> Research Scientist
> Physics, Box 6315,
> West Virginia University
> Morgantown, WV 26506-6315
> Phone: (304)293-3422 ext 1449  fax: (304)293-5732
> --------------------------------------------



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

* Re: enable su?
  1998-12-16  5:00 enable su? Leonid Muratov
  1998-12-16  5:00 ` Rocky
@ 1998-12-17  5:00 ` Tim Llewellyn
  1 sibling, 0 replies; 5+ messages in thread
From: Tim Llewellyn @ 1998-12-17  5:00 UTC (permalink / raw)




Leonid Muratov wrote:

> Dear NewsGroup,
>
> Our new DEC-UNIX 4.0 workstations came with su and root logins (from
> other then consol terminals)  disabled by SIA ( I think so). Su attempt
> results in the following message:
> "You do not have permission to su root"
>
> Can anybody tell me how to control this (set/reset the permission)?
>

hmmm, read the FAQ? (it must be in there surely).

Anyway, you need to add users to the system group to do what you want.
Edit /etc/groups and follow your nose.

Root logins over telnet are disabled/enabled in /etc/securettys.

HTH

Tim

> Leon
> new to DECompaq
>
> -
> -------------------------------------------
> Leon Muratov,          lmuratov@wvu.edu
> Research Scientist
> Physics, Box 6315,
> West Virginia University
> Morgantown, WV 26506-6315
> Phone: (304)293-3422 ext 1449  fax: (304)293-5732
> --------------------------------------------



--
Tim Llewellyn, OpenVMS System Manager, Remarcs Project
MedAS at the BBC, Whiteladies Road, Bristol, UK.
Email tim.llewellyn@bbc.co.uk. Home tim.llewellyn@cableinet.co.uk
My work email is not working reliably at present.

I speak for myself only and my views in no way represent those of
MedAS or the BBC.





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

* Re: enable su?
  1998-12-16  5:00 ` Rocky
@ 1998-12-18  5:00   ` Rolf Hauck
  1998-12-19  5:00   ` Rocky
  1 sibling, 0 replies; 5+ messages in thread
From: Rolf Hauck @ 1998-12-18  5:00 UTC (permalink / raw)


The last line in securettys has to be 
ptys
(for pseudo terminals)

Rocky schrieb:
> 
> Leon,
> 
> To give a user the ability to su to root add their login name to the
> system line in the /etc/group file.  To allow root logins over the
> network add the line
> 
> ttys
> 
> as the last line in the /etc/securettys file.
> 
> Regards,
> 
> Rocky



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

* Re: enable su?
  1998-12-16  5:00 ` Rocky
  1998-12-18  5:00   ` Rolf Hauck
@ 1998-12-19  5:00   ` Rocky
  1 sibling, 0 replies; 5+ messages in thread
From: Rocky @ 1998-12-19  5:00 UTC (permalink / raw)


I just looked at the response I sent.  I did a typo.  The line in
/etc/securettys should be ptys (not ttys).  This allows root logins
over the network.  One word of warning, this is not secure.  Generally
it is safer to add the user to /etc/group, then they can log in as
themselves over the network and do an su for root.

Rocky

Rocky wrote:
> 
> Leon,
> 
> To give a user the ability to su to root add their login name to the
> system line in the /etc/group file.  To allow root logins over the
> network add the line
> 
> ttys
> 
> as the last line in the /etc/securettys file.
> 
> Regards,
> 
> Rocky
>



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

end of thread, other threads:[~1998-12-19  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-16  5:00 enable su? Leonid Muratov
1998-12-16  5:00 ` Rocky
1998-12-18  5:00   ` Rolf Hauck
1998-12-19  5:00   ` Rocky
1998-12-17  5:00 ` Tim Llewellyn

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