dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Correction : {host,local,remote}/ : duplicity + MySQL.
[lhc/ateliers.git]
/
etc
/
sudoers.d
/
passwd-init
diff --git a/etc/sudoers.d/passwd-init
b/etc/sudoers.d/passwd-init
new file mode 100644
(file)
index 0000000..
6be02f3
--- /dev/null
+++ b/
etc/sudoers.d/passwd-init
@@ -0,0
+1,3
@@
+%sudo ALL=(ALL) NOPASSWD: /bin/sh -e -f -u -c \
+ case $(/usr/bin/passwd --status "$SUDO_USER") in \
+ ("$SUDO_USER L "*) /usr/bin/passwd $SUDO_USER;; esac