projects
/
public
/
pyceo-broken.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Call setreuid(euid, euid) in csc-chfn and csc-chsh on setup
[public/pyceo-broken.git]
/
bin
/
csc-chfn
diff --git
a/bin/csc-chfn
b/bin/csc-chfn
index
4b6be80
..
f723984
100755
(executable)
--- a/
bin/csc-chfn
+++ b/
bin/csc-chfn
@@
-74,6
+74,9
@@
def main():
pwuid, pwnam = whoami()
+ euid = os.geteuid()
+ os.setreuid(euid, euid)
+
gecos_params = {}
try: