This script allows you to automate the process of creating a new user with superuser privileges on Ubuntu.
To use this script, follow these steps:
-
Download the script using the following command in your terminal:
wget https://raw.githubusercontent.com/samfr1/auto-new-user/main/new-user.sh
-
Grant full execution permissions to the script using the
chmodcommand:chmod +x new-user.sh
-
Run the script:
./new-user.sh
After running the script, a new user with the name userroot and the password passwordroot will be created, and connection details (external IP address, login, password, and port) will be displayed.
Этот скрипт позволяет автоматизировать процесс создания нового пользователя с суперправами на Ubuntu.
Чтобы использовать этот скрипт, выполните следующие шаги:
-
Скачайте скрипт с помощью следующей команды в терминале:
wget https://raw.githubusercontent.com/samfr1/auto-new-user/main/new-user.sh
-
Предоставьте скрипту полные права на выполнение с помощью команды
chmod:chmod +x new-user.sh
-
Запустите скрипт:
./new-user.sh
После запуска скрипта будет создан новый пользователь с именем userroot и паролем passwordroot, а также будут выведены данные для подключения (внешний IP-адрес, логин, пароль и порт).