Operating System - HP-UX
1847253 Members
2972 Online
110263 Solutions
New Discussion

Re: message while login in

 
SOLVED
Go to solution
Sanjiv Sharma_1
Honored Contributor

message while login in

Hi,

I have a L3000/HP-UX 11.11.

When I login as any user it gives a message:
Last login: 1 Oct 16:11
Applications using getspwuid must be linked with libsec.
Application being terminated.
# /etc/profile.d/1234.pwage exited abnormally
# with value 1
#########################################################

What could be the cause of the message? What needs to be checked?

Thanks,
Raje.
Everything is possible
6 REPLIES 6
Stefan Farrelly
Honored Contributor

Re: message while login in

Ive got a newly build 11i server and there is no directory called /etc/profile.d (even if I convert to trusted). It looks to me youre using some third party security application and this is where your problem is. You firstly need to identify what its called. Try;

swlist -l file | grep "/etc/profile.d"

This should id the fileset which has this dir and then you can find the product/bundle. Then we can find out which company is responsible for it and look there.
Im from Palmerston North, New Zealand, but somehow ended up in London...
U.SivaKumar_2
Honored Contributor

Re: message while login in

Hi,
Is that server a trusted system ? Are you using
NIS ?Are you using /etc/shadow file ?
Have you fresh installed hp-ux 11.i or upgraded?

regards,
U.SivaKumar
Innovations are made when conventions are broken
harry d brown jr
Honored Contributor

Re: message while login in

are you using cygwin???

live free or die
harry
Live Free or Die
Sanjiv Sharma_1
Honored Contributor

Re: message while login in

Hi Stephen,

# swlist -l file | grep "/etc/profile.d"
ACU-CLIENT.acu-client: /etc/profile.d
ACU-CLIENT.acu-client: /etc/profile.d/101.acu-svr_profile
COE-CLIENT.coe-client: /opt/coe/newconfig/B.10.20/etc/profile.d
COE-CLIENT.coe-client: /opt/coe/newconfig/B.10.20/etc/profile.d/100.coe_profile
COE-CLIENT.coe-client: /opt/coe/newconfig/B.11.00/etc/profile.d
COE-CLIENT.coe-client: /opt/coe/newconfig/B.11.00/etc/profile.d/100.coe_profil
e
COE-CLIENT.coe-client: /opt/coe/newconfig/B.11.11/etc/profile.d
COE-CLIENT.coe-client: /opt/coe/newconfig/B.11.11/etc/profile.d/100.coe_profil
e
OpenSSH-Config.config: /etc/profile.d
OpenSSH-Config.config: /etc/profile.d/001.setenv
SGP-SETUP.misc: /etc/profile.d
SGP-SETUP.misc: /etc/profile.d/1234.pwage

Hi Siva,
This is not a trusted nor I am using NIS. I am not using /etc/shadow file. It has come preinstalled?

Hi Harry,
I am not using cygwin.

S/W installed in the servers are:
# swlist
B5725AA B.3.5.89
HP-UX Installation Utilities (Ignite-UX)
B6835AA B.11.11.05 Netscape 6.2.1
B6848AB 1.1.2 GTK+ Support Libraries for HP-UX
11.00
B9415AA 1.3.26.00.09 HP Apache-based Web Server with S
trong (128bit) Encryption
BUNDLE11i B.11.11.0102.2 Required Patch Bundle for HP-UX 1
1i, February 2001
B_ACU-CLIENT 4.10 ACU Client
B_BatchNet-A1_0 B.11.00 BatchNet/HP9000 - UX2BN Y2K(BN980
901UX A.1.0)
B_COE-CLIENT 4.10 UX-COE Client Product
B_IPM-CLIENT 4.10 Intelligent Patch Management Clie
nt
B_MAESTRO_6-1 6.1 Maestro 6.1 for HP-UX 10.20/11.00

B_MEDUSA5-3-A_11 A.1.0 Medusa 5.3.a for HP-UX 11.00
B_PWPLUS3-1-A_11 A.1.0 PW Plus 3.1.a for HP-UX 11.00
B_SIR B.11.00 System Information Reporter
B_SMKIT7 0.04 Sendmail Kit Release 7
B_SOFTCM-CLIENT 3.513 SoftCM Client
B_UMDIR 1.00 Unix Mail Directory
B_UXBKP-03-00 B.11.00 HP-UX Worldwide Backup for AITS -
CA version B.03.00
CDE-English B.11.11 English CDE Environment
FibrChanl-00 B.11.11.09 PCI/HSC FibreChannel;Supptd HW=A6
684A,A6685A,A5158A,A6795A
GOLDBASE11i B.11.11.0106.9 Gold Base Patches for HP-UX 11i,
June 2001
HPUX11i-OE-MC B.11.11.0109 HP-UX Mission Critical Operating
Environment Component
HPUXBase64 B.11.11 HP-UX 64-bit Base OS
HPUXBaseAux B.11.11.0109 HP-UX Base OS Auxiliary
HWEnable11i B.11.11.0109.6 Hardware Enablement Patches for H
P-UX 11i, September 2001
J2559C D.06.21 Hewlett-Packard JetAdmin for Unix
Utility
OnlineDiag B.11.11.04.09 HPUX 11.11 Support Tools Bundle,
Sep 2001
SITE-APPS B.11.00 APIT/CP Singapore Customization
perl B.5.6.1.C Perl Programming Language


Thanks,
Raje.
Everything is possible
Uncle Liew
Advisor

Re: message while login in

Hi Rajes,

Are u using sudo?

swlist -l product | grep -i sudo

If yes, make sure the "sudo" file permission is 4111

chmod 4111 sudo

Hope this helps
Shannon Petry
Honored Contributor
Solution

Re: message while login in

From the list of software installed there is a 3rd party application causing your problems.
Most notibly the COE stuff, and just below it directly referrences the /etc/profile.d/1234.pwage.

You could remove this software, but some vendors make no safe backout so be prepared for a full reload.

Regards,
Shannon
Microsoft. When do you want a virus today?