UmVirt LFS Package info
DB commit: d35a620850806ab581b32cb34d268a904c9c0a5f
APP commit:
sudo
The Sudo package allows a system administrator to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while logging the commands and arguments. Package info
Codename: sudo
Source file: sudo-1.8.23.tar.gz
Source directory: sudo-1.8.23
Package URL: https://ulfs.org/linux/downloads/package_files/0.1/packages/s/sudo-1.8.23.tar.gz
Package md5-checksum URL: https://ulfs.org/linux/downloads/package_files/0.1/packages/s/sudo-1.8.23.tar.gz.md5sum
Dependances: Linux-PAM.
Dependance of: libreoffice.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--with-secure-path \
--with-all-insults \
--with-env-editor \
--docdir=/usr/share/doc/sudo-1.8.23 \
--with-passprompt="[sudo] password for %p: "
Build script:
make
Install script:
make install &&
ln -sfv libsudo_util.so.0.0.0 /usr/lib/sudo/libsudo_util.so.0
groupadd -g 100 sudo
groupadd -g 101 admin
useradd -u 801 -g 101 \
-G admin,sudo \
-d /home/maintainer \
-p "ulfs" \
maintainer
mkdir -v /home/maintainer
chown maintainer /home/maintainer
chown -R 801:101 /var/cache/ulfs-packages
chown -R 801:101 /var/log/ulfs-packages
chown -R 801:101 /sources
cat > /etc/sudoers << "EOF"
User_Alias ADMIN = maintainer
root ALL=(ALL:ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# Allow people in group ADMIN to run all commands without a password
ADMIN ALL = NOPASSWD: ALL
EOF
cat > /etc/pam.d/sudo << "EOF"
# Begin /etc/pam.d/sudo
# include the default auth settings
auth include system-auth
# include the default account settings
account include system-account
# Set default environment variables for the service user
session required pam_env.so
# include system session defaults
session include system-session
# End /etc/pam.d/sudo
EOF
chmod 644 /etc/pam.d/sudo
Apache/2.4.62 (Debian) Server at ulfs.org Port 443