projects
/
public
/
pyceo-broken.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b21e23
)
addhomedir: invalidate the group table too
author
Michael Spang
<mspang@uwaterloo.ca>
Fri, 5 Oct 2007 06:26:53 +0000
(
02:26
-0400)
committer
Michael Spang
<mspang@uwaterloo.ca>
Fri, 5 Oct 2007 06:26:53 +0000
(
02:26
-0400)
We were doing `nscd -i passwd`. Do `nscd -i group`
as well, just for good measure.
bin/addhomedir
patch
|
blob
|
history
diff --git
a/bin/addhomedir
b/bin/addhomedir
index
8873328
..
9367ea1
100755
(executable)
--- a/
bin/addhomedir
+++ b/
bin/addhomedir
@@
-80,6
+80,7
@@
if not os.path.isdir(cfg['skeleton_dir']):
try:
os.spawnvp(os.P_WAIT, "/usr/sbin/nscd", ("/usr/sbin/nscd", "-i", "passwd"))
+ os.spawnvp(os.P_WAIT, "/usr/sbin/nscd", ("/usr/sbin/nscd", "-i", "group"))
pwent = pwd.getpwnam(username)
uid = pwent.pw_uid
gid = pwent.pw_gid