Created
September 14, 2020 02:36
-
-
Save Franklin13620/8ce63b24a00e84a7cb96b83c2637c597 to your computer and use it in GitHub Desktop.
Example: Create User
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Example create user in linux | |
print("Escribe el comando addgroup + (nombre del grupo)", end="") | |
name_group = input() | |
print(f"Haz creado un nuevo grupo:, {name_group}") | |
print("Ingrese el comando adduser ", end="") | |
name_user = input() | |
print(f"Haz creado un nuevo usuario:, {name_user}") | |
print("Escribe el comando adduser (usuario) (grupo)") | |
command_user = input() | |
print(f"Asi se añade usuarios a un grupo, {command_user}") | |
print("Escribe el comando groupmod -n (nuevo grupo) (actual grupo)") | |
command_group = input() | |
print(f"Asi se modifica el nombre del grupo, {command_group}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment