tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Bevan Broun <bevanb () ee ! uwa ! edu ! au>
To: tru64-unix-managers
Subject: SUMMARY: ssh wont let me su!
Date: Thu, 21 May 1998 01:41:34 +0000	[thread overview]
Message-ID: <96078708811731.tru64-unix-managers.marc@archive.invalid> (raw)

Thanks to:

bchill@bch.net (Brian C Hill)
Richard Sharpe <sharpe@ns.aus.com>
Matt J. L. Goebel" <goebel@emunix.emich.edu>
Ian Mortimer <mortimer@physics.uq.edu.au>
Peter Chapin <pchapin@twilight.vtc.vsc.edu>
Lew Randerson  <lranderson@Pppl.GOV>

The problem is solved. There is a problem with ssh-1.2.22 and Digital
Unix 4.0b depending upon what patches have been applied. I recompiled
ssh-1.2.22 and watched a bit more closely and saw the following error:

cc: Warning: userfile.c, line 636: In this statement, the referenced
type of the pointer value "username" is const, but the referenced type
of the target of this assignment is not.
      if (initgroups(username, gid) < 0)
----------^

Lew Randerson  <lranderson@Pppl.GOV> wrote:
>Bevan,
>
>1) ssh-1.2.23 solves the problem.

Which it did!
this is quite new.

>
>2) Look at your groups after ssh-ing. You are no longer in the system
>group. My solution was to do a
>       % /bin/su - randerso
>       % /bin/su -
>   The first su to myself got me a proper login. I still have the
>   ssh encryption from my original ssh. The second su let me into
>   root.

The original question was:

I have ssh-1.2.22 compiled using cc on  Digital UNIX V4.0B  (Rev. 564).
If I telnet to the machine I can su (Im in the system group) but if I
ssh to the machine I get:
"You do not have permission to su root"
just as if I was not in the system group.

BB
-- 
Bevan Broun                                           ph (08) 9380 1587
Computer Systems Officer                             fax (08) 9380 1065
Dept. Electrical and Electronic Engineering      
University of Western Australia                                 rm. G70

                 reply	other threads:[~1998-05-21  1:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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