ALT Linux Bugzilla
– Attachment 2072 Details for
Bug 11753
требуется control'изировать /etc/sudoers
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
naive control(8) support for /etc/sudoers
sudoers (text/plain), 565 bytes, created by
Michael Shigorin
on 2007-07-03 13:48:06 MSD
(
hide
)
Description:
naive control(8) support for /etc/sudoers
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2007-07-03 13:48:06 MSD
Size:
565 bytes
patch
obsolete
>#!/bin/sh > >. /etc/control.d/functions > >CONFIG=/etc/sudoers > >new_summary "sudoers defaults" > >new_subst server \ > '^(#+Defaults !|Defaults )(env_reset|requiretty|tty_tickets)$' \ > 's,^#*Defaults \!\?\(\(env_reset\|requiretty\|tty_tickets\)\)$,Defaults \1,' >new_subst desktop \ > '^(Defaults !|#Defaults )(env_reset|requiretty|tty_tickets)$' \ > 's,^#*Defaults \!\?\(\(env_reset\|requiretty\|tty_tickets\)\)$,Defaults !\1,' > >new_help server "Strict sudoers defaults" >new_help desktop "Relaxed sudoers defaults" > >control_subst "$CONFIG" "$*"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 11753
: 2072