./directadmin --DocumentRoot as User could not gain root

Version 1.62.0

Bugfix
Finished

Relating to the call to: /usr/local/directadmin/directadmin --DocumentRoot while running with directadmin in suid mode (root:directadmin/4755) broke a few versions ago. Re-organized the proper suid methods to re-gain root from a User.

Interested to try DirectAdmin? Get a 30-day Free Trial!