From: Jamie C. <jca...@we...> - 2013-09-11 20:31:25
|
On 11/Sep/2013 00:21 Przemysław Orzechowski <prz...@ma...> wrote .. > W dniu 10.09.2013 21:24, Jamie Cameron pisze: > > On 09/Sep/2013 22:53 Przemysław Orzechowski <prz...@ma...> > wrote .. > >> W dniu 09.09.2013 17:59, Jamie Cameron pisze: > >>> On 09/Sep/2013 03:07 Przemysław Orzechowski <prz...@ma...> > >> wrote .. > >>>> Hi i'm runing > >>>> *Webmin version* 1.650 *Virtualmin version* 4.02.gpl GPL > >>>> *Theme version* 8.7 > >>>> > >>>> When an user tries to change their password they get following error in > >>>> usermin > >>>> > >>>> > >>>> Błąd podczas zmieniania hasła > >>>> :/usr/share/webmin/virtual-server/change-password.plbłąd : > >>>> > >>>> Error: Script was not run with full path (failed to find /usr/share/webmin/virtual-server/change-password.pl > >>>> under ) > >>>> > >>>> ----- > >>>> Script was not run with full path (failed to find /usr/share/webmin/virtual-server/change-password.pl > >>>> under ) > >>>> ----- > >>>> > >>>> error occures if in Usermin Change Password module > >>>> Run command as User being changed is selected > >>>> If i select root (and append username) everything works > >>> Is the webmin configuration directory at /etc/webmin on your system? > >> Its stock install as done with virtualmin.sh script on ubuntu 12.04 so > >> the answer is yes > > Could you post the contents of the file /etc/usermin/changepass/config from your > system? I'd like > > to see what settings are used when change-password.pl is called. > This one is when i use root (and append username) wich works > cmd_mode=1 > passwd_new=1 > post_command= > passwd_same=1 > mysql=0 > passwd_prog= > passwd_cmd=/usr/share/webmin/virtual-server/change-password.pl > passwd_dict=1 > mailbox=1 > smbpasswd=smbpasswd > passwd_min=8 > passwd_re= > md5=1 > > This one when User being changed is set (does not work) > cmd_mode=0 > passwd_new=1 > post_command= > passwd_same=1 > mysql=0 > passwd_prog= > passwd_cmd=/usr/share/webmin/virtual-server/change-password.pl > passwd_dict=1 > mailbox=1 > smbpasswd=smbpasswd > passwd_min=8 > passwd_re= > md5=1 You need to change that cmd_mode=0 line to cmd_mode=1 , so that the script gets run as root. - Jamie |