[SunHELP] passwd command
Nigel Trivass
trivass at hotmail.com
Fri Aug 6 08:59:59 CDT 2004
Brett,
There were incorrect entries in the pam.conf file. I have now
copied pam.conf from its cluster partner and passwd works as normal.
I think someone had previously run security/JASS scripts against the
original pam.conf - I have only just taken over these servers.
I will supply more info when I've worked out which entries had been
amended.
However this was a really strange problem.
Nigel
>From: Bret Adams <bret at fabrikant.com>
>Reply-To: The SunHELP List <sunhelp at sunhelp.org>
>To: The SunHELP List <sunhelp at sunhelp.org>
>Subject: RE: [SunHELP] passwd command
>Date: Fri, 06 Aug 2004 09:36:27 -0400
>
>how about without the -f
>
>At 10:14 AM 8/5/2004, you wrote:
>
>> More info on this problem.
>>
>> when entering passwd -f <username>
>>
>> bash-2.03# id
>> uid=0(root) gid=0(root)
>> bash-2.03# passwd -f ntrivass
>> Password:
>>
>> if i enter my existing user password - i.e. not root's password
>>- then
>> the system responds:
>>
>> passwd: password information changed for ntrivass
>>
>> Now this isn't the way passwd should work....as the SA would
>>need to
>> know the user password of each user....
>>
>> any ideas, greatly appreciated....
>>
>> >From: "Nigel Trivass" <trivass at hotmail.com>
>> >Reply-To: The SunHELP List <sunhelp at sunhelp.org>
>> >To: sunhelp at sunhelp.org
>> >Subject: [SunHELP] passwd command
>> >Date: Thu, 05 Aug 2004 10:34:41 +0100
>> >
>> >
>> > Could anyone enlighten me on the following problem.
>> >
>> > When running the passwd command against a username -
>>logged on as
>> root
>> > - i am being prompted to enter a password e.g.
>> >
>> > [root at sys01 /etc]# passwd -f ntrivass
>> > Password:
>> >
>> > The nsswitch.conf is set correctly:
>> >
>> > #
>> > # /etc/nsswitch.dns:
>> > #
>> > # An example file that could be copied over to
>> /etc/nsswitch.conf; it
>> > uses
>> > # DNS for hosts lookups, otherwise it does not use any
>>other
>> naming
>> > service.
>> > #
>> > # "hosts:" and "services:" in this file are used only if
>>the
>> > # /etc/netconfig file has a "-" for nametoaddr_libs of
>>"inet"
>> > transports.
>> > passwd: files
>> > group: files
>> >
>> > Permissions are set correctly:
>> >
>> > # which passwd
>> > /usr/bin/passwd
>> > # ls -l /usr/bin/passwd
>> > -r-sr-xr-x 1 root sys 23500 Mar 19 2003
>> /usr/bin/passwd
>> > I have not seen this behaviour before, can anyone advise?
>> >
>> > Thanks
>> >
>> > Nigel
>> >
>>_______________________________________________________________
>> __
>> >
>> > MSN Premium gives you PC protection, junk-mail filters,
>>advanced
>> > communication tools and great software like MSN Encarta.
>>Premium.
>> > Click here for a FREE trial!
>> >_______________________________________________
>> >SunHELP maillist - SunHELP at sunhelp.org
>> >http://www.sunhelp.org/mailman/listinfo/sunhelp
>>
>>_________________________________________________________________
>>
>> Want to block unwanted pop-ups? Download the free MSN Toolbar
>>now!
>>_______________________________________________
>>SunHELP maillist - SunHELP at sunhelp.org
>>http://www.sunhelp.org/mailman/listinfo/sunhelp
>_______________________________________________
>SunHELP maillist - SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp
_________________________________________________________________
Have more fun with your phone - download ringtones, logos,
screensavers, games & more. Click here to begin!
More information about the SunHELP
mailing list