13 lines
183 B
Bash
13 lines
183 B
Bash
#!/bin/bash
|
|
|
|
# Test du user ROOT
|
|
if [ "$EUID" -ne 0 ]
|
|
then echo "Please run as root"
|
|
exit
|
|
fi
|
|
|
|
usermod -l aoste aosteadmin
|
|
usermod -d /home/aoste -m aoste
|
|
chfn -f aoste aoste
|
|
exit
|