2022-11-06 21:27:50 +01:00
|
|
|
#!/bin/bash
|
2022-12-12 13:56:05 +01:00
|
|
|
|
|
|
|
# Test du user ROOT
|
|
|
|
if [ "$EUID" -ne 0 ]
|
|
|
|
then echo "Please run as root"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
2022-11-06 21:27:50 +01:00
|
|
|
usermod -l aoste aosteadmin
|
|
|
|
usermod -d /home/aoste -m aoste
|
|
|
|
chfn -f aoste aoste
|
|
|
|
exit
|