PS: GUI password changer

Ralf Mardorf ralf.mardorf at alice-dsl.net
Wed Apr 24 07:24:49 CEST 2013


Perhaps you'll rewrite or directly use version 1.2 of xfce4-passwd ;).

On Wed, 2013-04-24 at 07:11 +0200, Ralf Mardorf wrote:
> You first are asked for the root password by "su" to get the permission to change a password.

Version 1.1 of xfce4-passwd is released ;).

[root at archlinux sbin]# cat xfce4-passwd
#!/bin/bash

echo -n "Username: "
read username
echo -n "Root-"
su -c "passwd $username"

exit



Version 1.2 of xfce4-passwd is released ;).

[root at archlinux sbin]# cat xfce4-passwd
#!/bin/bash

echo -n "Username: "
read username
su $username -c "passwd $username"

exit




More information about the Xfce mailing list