projects
/
mirror
/
userdir-ldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
91d5b5c
)
Indicate that "yes" needs to be written with three letters
author
joey
<>
Sat, 20 Nov 2004 19:04:44 +0000
(19:04 +0000)
committer
joey
<>
Sat, 20 Nov 2004 19:04:44 +0000
(19:04 +0000)
ud-useradd
patch
|
blob
|
history
diff --git
a/ud-useradd
b/ud-useradd
index
c51c944
..
009bdd3
100755
(executable)
--- a/
ud-useradd
+++ b/
ud-useradd
@@
-106,7
+106,7
@@
while 1:
if len(Attrs) == 0:
privsub = "%s@debian.org"%(account);
break;
if len(Attrs) == 0:
privsub = "%s@debian.org"%(account);
break;
- Res = raw_input("That account already exists, update [
no
]? ");
+ Res = raw_input("That account already exists, update [
No/yes
]? ");
if Res == "yes":
# Update mode, fetch the default values from the directory
Update = 1;
if Res == "yes":
# Update mode, fetch the default values from the directory
Update = 1;
@@
-185,7
+185,7
@@
print " Private Subscription:",privsub;
print " GECOS Field: \"%s,,,,\"" % (FullName);
print " Login Shell: /bin/bash";
print " Key Fingerprint:",Keys[0][1];
print " GECOS Field: \"%s,,,,\"" % (FullName);
print " Login Shell: /bin/bash";
print " Key Fingerprint:",Keys[0][1];
-Res = raw_input("Continue [
no
]? ");
+Res = raw_input("Continue [
No/yes
]? ");
if Res != "yes":
sys.exit(1);
if Res != "yes":
sys.exit(1);