ZOSOpenTools / sudoport

Sudo
Apache License 2.0
1 stars 0 forks source link

Update readme and installation setup to be more explicit #11

Closed MikeFultonDev closed 11 months ago

MikeFultonDev commented 11 months ago

The installation process now tells people how to finish the install with elevated privileges.

Here is an example (expanded with environment variables from a specific build)

================================================================================

IMPORTANT NOTE: Installation of sudo is NOT COMPLETE.
For details on sudo, see: https://www.sudo.ws/releases/stable/#1.9.13p3
To finish installing sudo, run the following commands with elevated privileges:
BIN_SUDO='cvtsudoers sudo sudoedit sudoreplay'
SBIN_SUDO='sudo_logsrvd sudo_sendlog visudo'
SUDO_INSTALL_LOCAL=/home/fultonm/zopen/usr/local/zopen/sudo/sudo-1.9.13p3
cd $SUDO_INSTALL_LOCAL/bin
cp $BIN_SUDO /usr/bin/
cd $SUDO_INSTALL_LOCAL/sbin
cp $SBIN_SUDO /usr/sbin/
cd /usr/bin
chown 0:0 $BIN_SUDO
cd /usr/sbin
chmod u+s $SBIN_SUDO
Review the $SUDO_INSTALL_LOCAL/etc/sudoers file.
Use sudovi to create your own /etc/sudoers file.
================================================================================