1 Summary: Allows command execution as root for specified users
2 Summary(es): Permite que usuarios específicos ejecuten comandos como se fueran el root
3 Summary(pl): Umo¿liwia wykonywaniew poleceñ jako root dla konkretnych u¿ytkowników
4 Summary(pt_BR): Permite que usuários específicos executem comandos como se fossem o root
9 Group: Applications/System
10 Group(de): Applikationen/System
11 Group(pl): Aplikacje/System
12 Source0: ftp://ftp.courtesan.com/pub/sudo/%{name}-%{version}.tar.gz
14 Source2: %{name}.logrotate
15 Patch0: %{name}-DESTDIR.patch
16 URL: http://www.courtesan.com/sudo/
17 BuildRequires: autoconf
18 BuildRequires: pam-devel
19 BuildRequires: /bin/vi
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _sysconfdir /etc
26 Sudo (superuser do) allows a permitted user to execute a command as
27 the superuser (real and effective uid and gid are set to 0 and root's
28 group as set in the passwd file respectively).
30 Sudo determines who is an authorized user by consulting the file
31 /etc/sudoers. By giving sudo the -v flag a user can update the time
32 stamp without running a command. The password prompt itself will also
33 time out if the password is not entered with N minutes (again, this is
34 defined at installation time and defaults to 5 minutes).
37 Sudo (superuser do) permite que el administrador del sistema otorga a
38 ciertos usuarios (o grupos de usuarios) la habilidad para ejecutar
39 algunos (o todos) comandos como root, registrando todos los comandos y
40 argumentos. Sudo opera en una base por comando, no siendo un
41 substituto para la shell.
44 Sudo (superuser do) umo¿liwia wykonywanie konkretnych poleceñ jako
45 root dla wyspecyfikowanych u¿ytkowników (rzeczywiste i efektywne
46 uid/gid podczas wykonywania tych programów jest 0). To kto mo¿e
47 wykonywaæ konkretne polecenia i w jaki sposób ma byæ autoryzowany jest
48 opisane w pliku /etc/sudoers.
51 Sudo (superuser do) permite que o administrador do sistema dê a certos
52 usuários (ou grupos de usuários) a habilidade para rodar alguns (ou
53 todos) comandos como root, registrando todos os comandos e argumentos.
54 Sudo opera numa base por comando, não sendo um substituto para a
63 --with-timedir=/var/run/sudo \
68 --with-logpath=/var/log/sudo \
74 --with-classic-insults \
75 --with-csops-insults \
77 --with-goons-insults \
78 --with-secure-path="/bin:/sbin:%{_bindir}:%{_sbindir}" \
84 rm -rf $RPM_BUILD_ROOT
85 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/{pam.d,logrotate.d},/var/{log,run/sudo}}
88 DESTDIR=$RPM_BUILD_ROOT \
94 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/sudo
95 touch $RPM_BUILD_ROOT/var/log/sudo
96 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/sudo
98 gzip -9nf BUGS CHANGES HISTORY README TODO TROUBLESHOOTING
100 chmod -R +r $RPM_BUILD_ROOT%{_prefix}
103 rm -rf $RPM_BUILD_ROOT
106 %defattr(644,root,root,755)
107 %doc *.gz sample.sudoers
108 %attr(0440,root,root) %verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/sudoers
109 %attr(0600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/pam.d/sudo
110 %attr(4555,root,root) %{_bindir}/sudo
111 %attr(0555,root,root) %{_sbindir}/visudo
113 %attr(0600,root,root) %ghost /var/log/sudo
114 %attr(0640,root,root) /etc/logrotate.d/*
115 %attr(0700,root,root) %dir /var/run/sudo