Operating System - HP-UX
1834009 Members
1713 Online
110063 Solutions
New Discussion

Re: wrong group membership with ssh login

 
Reed-DBA
New Member

wrong group membership with ssh login

I've got a problem when I log in with ssh from a windows client (putty). My user does not get the group membership it does when I log in through telnet.
eg:
$ id
uid=106(applprpd) gid=102(dba)
su - applprpd
$ id
uid=106(applprpd) gid=102(dba) groups=20(users)
I assume the dba group membership is retained because it is the primary group rather than being specified in /etc/group.
This is on OpenSSH_2.5.1p1.
Has anybody come across this? (or maybe I just need to get a later version of ssh)
2 REPLIES 2
harry d brown jr
Honored Contributor

Re: wrong group membership with ssh login

Steven E. Protter
Exalted Contributor

Re: wrong group membership with ssh login

I agree with Harry,

and.

as root.

pwck

grpck

Lets just make sure we don't have a problem with /etc/passwd

I'd like to know if this always happened or came about recently.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com