Ferenc Csurgai ← CloudLinux UserVoice has been deprecated as of March 1st, 2023 My feedback 3 results found Copy PHPSelector settings within a cPanel account transfer 1 vote Vote Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close 1 vote 2 votes 3 votes Remove votes You have left! (?) (thinking…) 1 comment · General · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close An error occurred while saving the comment Ferenc Csurgai commented · Jun 25, 2015 · Edit… · Delete… Try to put this line into /scripts/postrestoreacct : /usr/bin/selectorctl --interpreter=php --set-user-current=$( grep "^php[ ]*=[ ]*" /home/$1/.cl.selector/defaults.cfg | tr -d ' ' | cut -d= -f2 ) --user=$1 Save Submitting... Improve MySQL Governor's MySQL version installation/verification 5 votes Vote Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close 1 vote 2 votes 3 votes Remove votes You have left! (?) (thinking…) 0 comments · General · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close Ferenc Csurgai supported this idea · Mar 17, 2015 PHP Selector permited modules 45 votes Vote Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close 1 vote 2 votes 3 votes Remove votes You have left! (?) (thinking…) Under Review · 3 comments · General · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close Ferenc Csurgai supported this idea · Mar 16, 2015
Try to put this line into /scripts/postrestoreacct :
/usr/bin/selectorctl --interpreter=php --set-user-current=$( grep "^php[ ]*=[ ]*" /home/$1/.cl.selector/defaults.cfg | tr -d ' ' | cut -d= -f2 ) --user=$1