T TheMask Verified User Joined Jan 20, 2011 Messages 99 Nov 25, 2011 #1 how can i change all users skins lang... all user means all reseller and reseller users... i edit diradmin.conf files okay but reseller users langs still old...
how can i change all users skins lang... all user means all reseller and reseller users... i edit diradmin.conf files okay but reseller users langs still old...
SeLLeRoNe Super Moderator Joined Oct 9, 2004 Messages 6,632 Location A Coruña, Spain Nov 26, 2011 #2 I think you need to create a script that use sed or perl for each directory acting on this file /usr/local/directadmin/data/users/*/user.conf Im not a such good programmer but should not be hard to be done. Regards
I think you need to create a script that use sed or perl for each directory acting on this file /usr/local/directadmin/data/users/*/user.conf Im not a such good programmer but should not be hard to be done. Regards
T TheMask Verified User Joined Jan 20, 2011 Messages 99 Nov 26, 2011 #3 SeLLeRoNe said: Im not a such good programmer Click to expand... yes me too
zEitEr Super Moderator Joined Apr 11, 2005 Messages 15,415 Location www.poralix.com Nov 26, 2011 #4 TheMask said: yes me too Click to expand... You might want to hire one then. Try this: Code: perl -pi -e 's/language=lng1/language=lng2/' /usr/local/directadmin/data/users/*/user.conf Replace lng1 and lng2 with actual data. e.g.: language=en language=fr
TheMask said: yes me too Click to expand... You might want to hire one then. Try this: Code: perl -pi -e 's/language=lng1/language=lng2/' /usr/local/directadmin/data/users/*/user.conf Replace lng1 and lng2 with actual data. e.g.: language=en language=fr
T TheMask Verified User Joined Jan 20, 2011 Messages 99 Nov 26, 2011 #5 thats very quick, thankyou very much