Description of problem: Lets login the first time with a known user account: $ sudo pulp-admin auth login -u admin -p admin User credentials successfully stored at [/root/.pulp/user-cert.pem] Now lets try to relogin with a fake user $ sudo pulp-admin auth login -u foobar User credentials successfully stored at [/root/.pulp/user-cert.pem] This is incorrect, auth is still using the previous credentials. The right behavior should be, auth should tell that there is already a user logged in and should suggest a logout before doing the above. something like: $ sudo pulp-admin auth login -u foobar Error: A user certificate already exists on the system; please logout before re-authenticating a new user.
fixed! commit 3a73fa795945972e62682fa3a4f39d52aeb172a3 fixed auth login to re-login new credentials; will just replace existing user certs with new ones $ sudo pulp-admin -u admin -p admin auth login User credentials successfully stored at [/root/.pulp/user-cert.pem] Before fix, password is not prompted, it direclty downloads previous user certs $ sudo pulp-admin auth login -u prad User credentials successfully stored at [/root/.pulp/user-cert.pem] After fix, should download new user credentials $ sudo pulp-admin auth login -u prad Enter password: User credentials successfully stored at [/root/.pulp/user-cert.pem]
build: 0.192
[root@preethi ~]# rpm -q pulp pulp-0.0.192-1.fc14.noarch [root@preethi ~]# pulp-admin auth login -u admin -p admin User credentials successfully stored at [/root/.pulp/user-cert.pem] [root@preethi ~]# pulp-admin auth login -u preethi Enter password: User credentials successfully stored at [/root/.pulp/user-cert.pem]
Closing with Community Release 15 pulp-0.0.223-4.