+++ /dev/null
-sudo source: maintainer-script-lacks-debhelper-token debian/sudo.postinst
-sudo source: maintainer-script-lacks-debhelper-token debian/sudo-ldap.postinst
sudo-ldap: non-standard-file-perm etc/sudoers.d/README 0440 != 0644
sudo-ldap: setuid-binary usr/bin/sudo 4755 root/root
sudo-ldap: setuid-binary usr/bin/sudoedit 4755 root/root
+sudo-ldap: read-in-maintainer-script
#!/bin/sh
+set -e
+
# remove old link
if [ -L /etc/alternatives/sudo ]; then
# make sure we have a sudo group
-[ -n "`/usr/bin/getent group sudo`" ] && exit 0 # we're finished if there is a group sudo:
+[ -n "`getent group sudo`" ] && exit 0 # we're finished if there is a group sudo:
# start search with gid 27
gid="27"
-while [ -n "`/usr/bin/getent group $gid | /usr/bin/cut -d: -f3`" ];do
- gid=`/usr/bin/expr $gid + 1`
+while [ -n "`getent group $gid | cut -d: -f3`" ];do
+ gid=`expr $gid + 1`
done
if [ "$gid" -ne "27" ];then
echo "On Debian we normally use gid 27 for 'sudo'."
- gname="`/usr/bin/getent group 27 | /usr/bin/cut -d: -f1`"
+ gname="`getent group 27 | cut -d: -f1`"
echo "However, on your system gid 27 is group '$gname'."
echo ""
echo "Would you like me to stop configuring sudo so that you can change this?";
read ans
[ "$ans" = "" ] && break
if [ "$ans" = "yes" -o "$ans" = "YES" ];then
- echo "'dpkg --pending --configure' will restart the configuration.\n\n"
+ echo "\'dpkg --pending --configure\' will restart the configuration.\n\n"
exit 1;
fi
echo "Please enter exactly 'yes' to stop, or press the enter key to continue without stopping"
sudo: non-standard-file-perm etc/sudoers.d/README 0440 != 0644
sudo: setuid-binary usr/bin/sudo 4755 root/root
sudo: setuid-binary usr/bin/sudoedit 4755 root/root
+sudo: read-in-maintainer-script
#!/bin/sh
+set -e
+
# remove old link
if [ -L /etc/alternatives/sudo ]; then
# make sure we have a sudo group
-[ -n "`/usr/bin/getent group sudo`" ] && exit 0 # we're finished if there is a group sudo:
+[ -n "`getent group sudo`" ] && exit 0 # we're finished if there is a group sudo:
# start search with gid 27
gid="27"
-while [ -n "`/usr/bin/getent group $gid | /usr/bin/cut -d: -f3`" ];do
- gid=`/usr/bin/expr $gid + 1`
+while [ -n "`getent group $gid | cut -d: -f3`" ];do
+ gid=`expr $gid + 1`
done
if [ "$gid" -ne "27" ];then
echo "On Debian we normally use gid 27 for 'sudo'."
- gname="`/usr/bin/getent group 27 | /usr/bin/cut -d: -f1`"
+ gname="`getent group 27 | cut -d: -f1`"
echo "However, on your system gid 27 is group '$gname'."
echo ""
echo "Would you like me to stop configuring sudo so that you can change this?";
read ans
[ "$ans" = "" ] && break
if [ "$ans" = "yes" -o "$ans" = "YES" ];then
- echo "'dpkg --pending --configure' will restart the configuration.\n\n"
+ echo "\'dpkg --pending --configure\' will restart the configuration.\n\n"
exit 1;
fi
echo "Please enter exactly 'yes' to stop, or press the enter key to continue without stopping"