Hi,
I try to make sudo available to an ssh user I created through Plesk on CentOS 5.2
So far
- I installed sudo, as it was not available
> yum sudo install
- Added the user I wanted to the wheel group
> usermod -a -G wheel theuser
- Uncommented %wheel in /etc/sudoers
But noticed sudo is not available if I log in as that user.
I noticed /var/www/vhosts/<domain>/u
sr/bin did not include sudo, so I copied it from /usr/bin,
but then shared libraries started to be missing:
"sudo: error while loading shared libraries: libpam.so.0: cannot open shared object file: No such file or directory"
So I figured I could go through this and copy one missing library after the other from it's original location to the respective /var/www/vhosts/<domain> folder, but I assume there is a better way to do so.
Thank you
Start Free Trial