Thanks to:
bchill_at_bch.net (Brian C Hill)
Richard Sharpe <sharpe_at_ns.aus.com>
Matt J. L. Goebel" <goebel_at_emunix.emich.edu>
Ian Mortimer <mortimer_at_physics.uq.edu.au>
Peter Chapin <pchapin_at_twilight.vtc.vsc.edu>
Lew Randerson <lranderson_at_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_at_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
Received on Thu May 21 1998 - 03:42:27 NZST