Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Allow root access from a specific PC?
@ 2002-12-10 19:28 Vic Semaska
  2002-12-11  3:52 ` Nico Kadel-Garcia
  2002-12-13 16:33 ` Vic Semaska
  0 siblings, 2 replies; 5+ messages in thread
From: Vic Semaska @ 2002-12-10 19:28 UTC (permalink / raw)


Greetings,

I'm running Tru64 UNIX V5.1A w/ enhanced security enabled and I would 
like to allow root access from a specific PC.  I'm aware of putting a 
person in the system group so they can '# su -' over to root but I need 
to be able to allow someone to log directly into root.  This has to do 
with X11 tunneling.

I've looked at /etc/securettys and was able to allow root access from 
anywhere by putting in 'ptys' in the file.  That obviously is not what I 
want.  I've looked at /etc/auth/system/ttys & /etc/auth/system/devassign 
but can't figure out what to put in there.  Any ideas or help appreciated.

Thanks,
Vic



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

* Re: Allow root access from a specific PC?
  2002-12-10 19:28 Allow root access from a specific PC? Vic Semaska
@ 2002-12-11  3:52 ` Nico Kadel-Garcia
  2002-12-11 15:11   ` Vic Semaska
  2002-12-13 16:33 ` Vic Semaska
  1 sibling, 1 reply; 5+ messages in thread
From: Nico Kadel-Garcia @ 2002-12-11  3:52 UTC (permalink / raw)



"Vic Semaska" <semaska@syof.ctstate.edu> wrote in message
news:3DF64076.20408@syof.ctstate.edu...
> Greetings,
>
> I'm running Tru64 UNIX V5.1A w/ enhanced security enabled and I would
> like to allow root access from a specific PC.  I'm aware of putting a
> person in the system group so they can '# su -' over to root but I need
> to be able to allow someone to log directly into root.  This has to do
> with X11 tunneling.

Can't you just install OpenSSH with the user's SSH public key in the root
user's .ssh/authorized_keys file? Or do the pty settings prevent SSH from
doing the root login?




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

* Re: Allow root access from a specific PC?
  2002-12-11  3:52 ` Nico Kadel-Garcia
@ 2002-12-11 15:11   ` Vic Semaska
  2002-12-13 19:23     ` Sachindra
  0 siblings, 1 reply; 5+ messages in thread
From: Vic Semaska @ 2002-12-11 15:11 UTC (permalink / raw)




Nico Kadel-Garcia wrote:

> "Vic Semaska" <semaska@syof.ctstate.edu> wrote in message
> news:3DF64076.20408@syof.ctstate.edu...
> 
>>Greetings,
>>
>>I'm running Tru64 UNIX V5.1A w/ enhanced security enabled and I would
>>like to allow root access from a specific PC.  I'm aware of putting a
>>person in the system group so they can '# su -' over to root but I need
>>to be able to allow someone to log directly into root.  This has to do
>>with X11 tunneling.
>>
> 
> Can't you just install OpenSSH with the user's SSH public key in the root
> user's .ssh/authorized_keys file? Or do the pty settings prevent SSH from
> doing the root login?
> 


I did try that.  It allowed me to log in as root without the password 
but was immediatelt logged off.  That's why I think something has to be 
added to those /etc/auth/system/ttys & /etc/auth/system/devassign files.

Thanks,
Vic




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

* Re: Allow root access from a specific PC?
  2002-12-10 19:28 Allow root access from a specific PC? Vic Semaska
  2002-12-11  3:52 ` Nico Kadel-Garcia
@ 2002-12-13 16:33 ` Vic Semaska
  1 sibling, 0 replies; 5+ messages in thread
From: Vic Semaska @ 2002-12-13 16:33 UTC (permalink / raw)


Vic Semaska wrote:

> Greetings,
> 
> I'm running Tru64 UNIX V5.1A w/ enhanced security enabled and I would 
> like to allow root access from a specific PC.  I'm aware of putting a 
> person in the system group so they can '# su -' over to root but I need 
> to be able to allow someone to log directly into root.  This has to do 
> with X11 tunneling.
> 
> I've looked at /etc/securettys and was able to allow root access from 
> anywhere by putting in 'ptys' in the file.  That obviously is not what I 
> want.  I've looked at /etc/auth/system/ttys & /etc/auth/system/devassign 
> but can't figure out what to put in there.  Any ideas or help appreciated.
> 
> Thanks,
> Vic


FYI: Co-worker figured it out.  It seems that the root /.Xauthority file 
is not getting updated with the users cookie when they su to root.  To 
fix this we have to do this from root:

# /usr/bin/X11/xauth -f /.Xauthority merge /<user home 
directory>/.Xauthority

Then the user can '# su' to root (don't include '-') and run the X11 
application.

Vic




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

* Re: Allow root access from a specific PC?
  2002-12-11 15:11   ` Vic Semaska
@ 2002-12-13 19:23     ` Sachindra
  0 siblings, 0 replies; 5+ messages in thread
From: Sachindra @ 2002-12-13 19:23 UTC (permalink / raw)


hi vic,
if u r tring to access root thrugh thin client or xwindows add your
PC's IP address into /etc/securettys .
like aa.bb.cc.dd:0 and u can get root access using xwindows/ X11 access 
from that PC Only.

Regards
Sachinda Singh



Vic Semaska <semaska@syof.ctstate.edu> wrote in message news:<3DF75592.8040300@syof.ctstate.edu>...
> Nico Kadel-Garcia wrote:
> 
> > "Vic Semaska" <semaska@syof.ctstate.edu> wrote in message
> > news:3DF64076.20408@syof.ctstate.edu...
> > 
> >>Greetings,
> >>
> >>I'm running Tru64 UNIX V5.1A w/ enhanced security enabled and I would
> >>like to allow root access from a specific PC.  I'm aware of putting a
> >>person in the system group so they can '# su -' over to root but I need
> >>to be able to allow someone to log directly into root.  This has to do
> >>with X11 tunneling.
> >>
> > 
> > Can't you just install OpenSSH with the user's SSH public key in the root
> > user's .ssh/authorized_keys file? Or do the pty settings prevent SSH from
> > doing the root login?
> > 
> 
> 
> I did try that.  It allowed me to log in as root without the password 
> but was immediatelt logged off.  That's why I think something has to be 
> added to those /etc/auth/system/ttys & /etc/auth/system/devassign files.
> 
> Thanks,
> Vic


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

end of thread, other threads:[~2002-12-13 19:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-10 19:28 Allow root access from a specific PC? Vic Semaska
2002-12-11  3:52 ` Nico Kadel-Garcia
2002-12-11 15:11   ` Vic Semaska
2002-12-13 19:23     ` Sachindra
2002-12-13 16:33 ` Vic Semaska

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