]> mj.ucw.cz Git - eval.git/commitdiff
mo-create-logins: Do not transliterate user names
authorroot <root@mo113.(none)>
Thu, 7 Apr 2016 11:39:38 +0000 (13:39 +0200)
committerroot <root@mo113.(none)>
Thu, 7 Apr 2016 11:39:38 +0000 (13:39 +0200)
mop/admin/mo-create-logins.sh

index 85eca239ff23269fc505756e7c9e7feb5d052362..f8d7cb626553f9a64fde761d8174fe3268db6681 100644 (file)
@@ -63,7 +63,8 @@ case $mode in
        EOF
 
     bin/mo-get-users --full | while read user name; do
-      asciiname=$(echo $name | iconv -f utf-8 -t us-ascii//translit)
+      # asciiname=$(echo $name | iconv -f utf-8 -t us-ascii//translit)
+      asciiname="$name"
       passwd=`apg -n1 -m6 -Mncl -E"01lO" | cut -d" " -f1`
       passwd_md5=`echo $passwd | bin/md5crypt`
       echo $user:x:$uid:$uid:$name:$MO_ROOT/users/$user/$user:/bin/bash                        >> etcpasswd