Skip to content

Commit

Permalink
Move sudoers file to vyos-1x
Browse files Browse the repository at this point in the history
  • Loading branch information
c-po committed Jun 26, 2021
1 parent aa357cb commit b34685c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 61 deletions.
1 change: 0 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ sysconf_DATA += sysconf/securetty
sysconf_DATA += sysconf/level
sysconf_DATA += sysconf/filecaps
sysconf_DATA += sysconf/capability.conf
sysconf_DATA += sysconf/sudoers
sysconf_DATA += sysconf/netdevice

libudevdir = /lib/udev
Expand Down
7 changes: 0 additions & 7 deletions debian/vyatta-cfg-system.postinst.in
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ if [ "$sysconfdir" != "/etc" ]; then
-e '/sudo-users/d' \
-e '/env_keep+=VYATTA/d' || true

# Turn off Debian default for %sudo
sed -i -e '/^%sudo/d' /etc/sudoers || true

# Add Vyatta entries for sudoers
cp $sysconfdir/sudoers /etc/sudoers.d/vyatta
chmod 0440 /etc/sudoers.d/vyatta

# purge off ancient devfs stuff from /etc/securetty
cp $sysconfdir/securetty /etc/securetty

Expand Down
53 changes: 0 additions & 53 deletions sysconf/sudoers

This file was deleted.

0 comments on commit b34685c

Please sign in to comment.