Re: gnome-keyring kerying - unlocks if I change or remove the password in /etc/shadow?



On 03/14/2011 11:29 AM, Marek Andreánsky wrote:
> What happens if I change my password by modifying the /etc/shadow file
> or I flat out remove the user password from the file?
> 
> If it unlocks as usual 

No. It doesn't. You can try this out.

> And what happens if he instead gets root access and changes my pass
> (pass of another user) using one of the password changing commands
> available to root? Will it automatically change the pass of the keyring too?

No. It doesn't.

> Haven't tested this, but probably will to see what happens when I have a
> free hour or so. The ideal scenario would be that whenever the user
> login pass is changed GNOME keyring would prompt with a popup for the
> user to insert the old pass and then retype the new user pass

Yup, we do this. We ask for the old password, and already know the new one.

Cheers,

Stef


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]