Call setreuid(euid, euid) in csc-chfn and csc-chsh on setup
[public/pyceo-broken.git] / bin / csc-chfn
index 4b6be80..f723984 100755 (executable)
@@ -74,6 +74,9 @@ def main():
 
     pwuid, pwnam = whoami()
 
+    euid = os.geteuid()
+    os.setreuid(euid, euid)
+
     gecos_params = {}
 
     try: