use Red Hat specific default sudoers file
This commit is contained in:
parent
4616de0e31
commit
c386abaab0
@ -1 +1,2 @@
|
|||||||
sudo-1.6.8p12.tar.gz
|
sudo-1.6.8p12.tar.gz
|
||||||
|
sudo-1.6.8p12-sudoers
|
||||||
|
1
sources
1
sources
@ -1 +1,2 @@
|
|||||||
b29893c06192df6230dd5f340f3badf5 sudo-1.6.8p12.tar.gz
|
b29893c06192df6230dd5f340f3badf5 sudo-1.6.8p12.tar.gz
|
||||||
|
a7e16582ef741f70961a74020ceaec33 sudo-1.6.8p12-sudoers
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
Summary: Allows restricted root access for specified users.
|
Summary: Allows restricted root access for specified users.
|
||||||
Name: sudo
|
Name: sudo
|
||||||
Version: 1.6.8p12
|
Version: 1.6.8p12
|
||||||
Release: 7
|
Release: 8
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Source: http://www.courtesan.com/sudo/dist/sudo-%{version}.tar.gz
|
|
||||||
URL: http://www.courtesan.com/sudo/
|
URL: http://www.courtesan.com/sudo/
|
||||||
|
Source0: http://www.courtesan.com/sudo/dist/sudo-%{version}.tar.gz
|
||||||
|
Source1: sudo-1.6.8p12-sudoers
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
Requires: /etc/pam.d/system-auth, vim-minimal
|
Requires: /etc/pam.d/system-auth, vim-minimal
|
||||||
|
|
||||||
@ -79,6 +80,7 @@ mkdir $RPM_BUILD_ROOT
|
|||||||
make install DESTDIR="$RPM_BUILD_ROOT" install_uid=`id -u` install_gid=`id -g` sudoers_uid=`id -u` sudoers_gid=`id -g`
|
make install DESTDIR="$RPM_BUILD_ROOT" install_uid=`id -u` install_gid=`id -g` sudoers_uid=`id -u` sudoers_gid=`id -g`
|
||||||
chmod 755 $RPM_BUILD_ROOT%{_bindir}/* $RPM_BUILD_ROOT%{_sbindir}/*
|
chmod 755 $RPM_BUILD_ROOT%{_bindir}/* $RPM_BUILD_ROOT%{_sbindir}/*
|
||||||
install -d -m 700 $RPM_BUILD_ROOT/var/run/sudo
|
install -d -m 700 $RPM_BUILD_ROOT/var/run/sudo
|
||||||
|
install -c -m 0440 %{SOURCE1} $RPM_BUILD_ROOT/etc/sudoers
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/pam.d
|
mkdir -p $RPM_BUILD_ROOT/etc/pam.d
|
||||||
cat > $RPM_BUILD_ROOT/etc/pam.d/sudo << EOF
|
cat > $RPM_BUILD_ROOT/etc/pam.d/sudo << EOF
|
||||||
@ -124,6 +126,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/bin/chmod 0440 /etc/sudoers || :
|
/bin/chmod 0440 /etc/sudoers || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 08 2006 Peter Vrabec <pvrabec@redhat.com> 1.6.8p12-8
|
||||||
|
- use Red Hat specific default sudoers file
|
||||||
|
|
||||||
* Sun Jul 16 2006 Karel Zak <kzak@redhat.com> 1.6.8p12-7
|
* Sun Jul 16 2006 Karel Zak <kzak@redhat.com> 1.6.8p12-7
|
||||||
- fix #198755 - make login processes (sudo -i) initialise session keyring
|
- fix #198755 - make login processes (sudo -i) initialise session keyring
|
||||||
(thanks for PAM config files to David Howells)
|
(thanks for PAM config files to David Howells)
|
||||||
|
Loading…
Reference in New Issue
Block a user