Re: Changing user credentials in Pegasus on Linux

Ashok K Pathak <[email protected]> Fri, 10 May 2013 14:44:28 +0530
Newsgroups gmane.network.open-pegasus.general
Message-ID <OFBC15C54A.A86EC9F0-ON65257B67.00321A9A-65257B67.0032D890@in.ibm.com>

Pegasus does  authentication/password management using system
user/passwords (PAM)

In other words,  Pegasus exploits PAM to  authentication & password
management
The PAM conf file for  Open Pegasus uses is usually
named /etc/pam.d/wbem.

For Setting up PAM authentication refer notes.txt  in folder
pegasus/src/Executor

>>>>
      First compile with PEGASUS_PAM_AUTHENTICATION.

        Next install the PAM configuration file.

            % cd $PEGASUS_ROOT
            % cp rpm/wbem /etc/pam.d
            % chmod 0644 /etc/pam.d/wbem

      To build for standalone PAM authentication, compile with these:

            PEGASUS_PAM_AUTHENTICATION
            PEGASUS_USE_PAM_STANDALONE_PROC

       To run cimserver to use PAM
            enableAuthentication=true


<<<<
Hope it helps.

Regards
Ashok



                                                                           
             Anuj Jain                                                     
             <anujjain.work@gm                                             
             ail.com>                                                   To 
                                       "[email protected]"         
             05/08/2013 08:51          <[email protected]>,        
             PM                                                         cc 
                                                                           
                                                                   Subject 
                                       Changing user credentials in        
                                       Pegasus on Linux                    
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hi,
I am trying to figure out the right way of changing user credentials using
Pegasus. This is on a Linux GNU x64 platform.
The user in questions is the current user logged into the cimserver. The
operation needs to modify the password of this user and the expectation is
that the new password is used not only for the cimuser but also when this
user logs in to the Linux box, say using ssh.

What would be the logical steps to implementint something like this?

Thanks a lot!
Anuj