[Ovirt-devel] [PATCH node] check if root password is expired

Alan Pevec apevec at redhat.com
Fri May 21 21:56:22 UTC 2010


Ricardo Marin Matinata wrote:
> However, on a not so related problem, for those using password based
> authentication, there's still the problem on passwd not working after
> the node is properly installed, unless you explicitly
> umount /etc/shadow. Has anybody thought on options on how to cope with
> this ? That is, preserving the simple behavior of "passwd" ?

you either point users to use ovirt-config-password or, for shell users, provide an alias:
passwd () 
{ 
    unpersist /etc/shadow
    /usr/bin/passwd
    persist /etc/shadow
}




More information about the ovirt-devel mailing list