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-chsh
diff --git
a/bin/csc-chsh
b/bin/csc-chsh
index
ef0db49
..
25013a1
100755
(executable)
--- a/
bin/csc-chsh
+++ b/
bin/csc-chsh
@@
-55,6
+55,9
@@
def main():
pwuid, pwnam = whoami()
+ euid = os.geteuid()
+ os.setreuid(euid, euid)
+
try:
options, arguments = getopt.gnu_getopt(sys.argv[1:], 's:')
new_shell = None