* SUMMARY: ssh wont let me su!
@ 1998-05-21 1:41 Bevan Broun
0 siblings, 0 replies; only message in thread
From: Bevan Broun @ 1998-05-21 1:41 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-05-21 1:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-21 1:41 SUMMARY: ssh wont let me su! Bevan Broun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox