1833883 Members
2174 Online
110063 Solutions
New Discussion

Re: Bad group id

 
HPP
Regular Advisor

Bad group id

Hi,
When i try to login via telnet to HP-UX 11.00 server, i get the following message if i login other than root

Wait for login Bad group id: ..

If i try to login as root, it exits immediately after login without giving any message. THis system is trusted system.
The /etc/group and /etc/passwd /tcb looks ok

I even tried
/usr/lbin/modprpw -k nonroot
/usr/lbin/modprpw -k root

Right now i am using ssh to login.

Any input regarding above problem.

Thanks
Be Teachable
8 REPLIES 8
HPP
Regular Advisor

Re: Bad group id

Hi,
I forgot to mention one more stuff. System was ok until i rebuilt the kernel. I was getting follwoing message

queueup cannot lock No locks available

so i increased nflocks and rebuilt the kernel in the single user mode.
This server is sendmail server.

Thanks
Be Teachable
HPP
Regular Advisor

Re: Bad group id

Hi,
Any input?

Thanks
Be Teachable
Steven E. Protter
Exalted Contributor

Re: Bad group id

Sounds like someone blocked root from direct telnet access.

Thats not a bad thing, you're better off not using telnet anyway, as it sends passwords across the network in clear text.

If you really want to fix it:

This thread should help.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x416f107d277ad611abdb0090277a778c,00.html

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
David Burgess
Esteemed Contributor

Re: Bad group id

Hi,

I would start by checking the permissions on /etc/passwd /etc/group. Make sure they are world readable.

Take a look at the man pages for login and setuid / setgid.

Check the group of the user is present in /etc/group.

There was a bug in make_recovery some time ago that took the world read permission off /etc/group on a recover. Have you rebuilt recently?

Regards,

Dave.
HPP
Regular Advisor

Re: Bad group id

Hi,
/etc/group and /etc/passwd is world readable.
This system was not recovered from make_recovery.
I was able to login through telnet before building the kernel in the single user mode. All problem started after kernel rebuild.
"authck -p" does not give any error. The /etc/group file is ok.
Also i ran modprpw -k , no luck.
I just created new user and same problem "Wait for login Bad group id: .."

still no luck....

Thanks for the input
Be Teachable
David Burgess
Esteemed Contributor

Re: Bad group id

Can you reboot from the old kernel vmunix.prev and see if the problem goes away? Just incase something else has been done to the kernel that you are not aware about.

Regards,

Dave.
Steven E. Protter
Exalted Contributor

Re: Bad group id

My prior link was wrong.

Here is the one I should have posted. 10 lashings with a wet noodle.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6169972194d6d5118ff40090279cd0f9,00.html

flipping linux link....

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
Jeff Schussele
Honored Contributor

Re: Bad group id

Hi,

Have you ran
pwck
or
grpck
to verify the integrity of the passwd & group files?

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!