summaryrefslogtreecommitdiffstats
path: root/base/aaabasicfs/nu
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-20 08:52:01 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-20 08:52:01 +0200
commit9cdee64edf9ae6ed044af7f4c8d06809128697d9 (patch)
treefaf936de885183791fc0eabc504f280dda149368 /base/aaabasicfs/nu
parent358344652b60697c4c78ed6abe14851a30b7cf0c (diff)
downloadnutyx-pakxe-9cdee64edf9ae6ed044af7f4c8d06809128697d9.tar.gz
nutyx-pakxe-9cdee64edf9ae6ed044af7f4c8d06809128697d9.tar.bz2
nutyx-pakxe-9cdee64edf9ae6ed044af7f4c8d06809128697d9.tar.xz
nutyx-pakxe-9cdee64edf9ae6ed044af7f4c8d06809128697d9.zip
Modifier les dossiers pour les dépots
Diffstat (limited to 'base/aaabasicfs/nu')
-rwxr-xr-xbase/aaabasicfs/nu12
1 files changed, 6 insertions, 6 deletions
diff --git a/base/aaabasicfs/nu b/base/aaabasicfs/nu
index ceabb6f40..214a019b1 100755
--- a/base/aaabasicfs/nu
+++ b/base/aaabasicfs/nu
@@ -75,9 +75,9 @@ if [ $UID -ne 0 ]; then
fi
if [ $# -lt 2 ]; then
- echo -n "Nom : "
+ echo -n "Nom de l'utilisateur: "
read name
- echo -n "Description : "
+ echo -n "Description de l'utilisateur: "
read description
else
description="$1"
@@ -88,11 +88,11 @@ check_args "$description" "$name"
ret=$?
while [ $ret -ne 0 ]; do
if [ $ret -lt 3 ]; then
- echo -n "Nouveau nom : "
+ echo -n "Nom de l'utilisateur: "
read name
fi
if [ $ret -eq 3 ]; then
- echo -n "Nouvelle description : "
+ echo -n "Description de l'utilisateur: "
read description
fi
if [ "$name" == "!stop!" -o "$description" == "!stop!" ]; then
@@ -110,7 +110,7 @@ while [ -n "${default_groups[i]}" ]; do
else
user_groups="$user_groups,${default_groups[i]}"
fi
- echo "groupes : $user_groups"
+# echo "groupes : $user_groups"
# else
# echo 1>&2 ' Veuillez installez un gestionnaire de fenetre,
# redemarrer la machine dans ce gestionnaire,
@@ -124,7 +124,7 @@ done
echo 1>&2 "
Création de $name.
"
-echo "/usr/sbin/useradd -c ${description} $user_groups -m ${name}"
+# echo "/usr/sbin/useradd -c ${description} $user_groups -m ${name}"
if [ -z "$user_groups" ]; then
/usr/sbin/useradd -c "${description}" -m "${name}" || exit 1
else