I have a usuario1
created with Linux without bash, or Home and can not log in, done in the following way:
sudo adduser usuario1
Once created, going to the file:
sudo nano /etc/passwd
I searched for that user's line and changed his shell to false:
usuario1:x:1000:1000 .../home/usuario1:/bin/false
But now I need to create a usuario2
that can be identified as user 1 (using sudo) but not as root.
How could I do that?
Thank you very much. Greetings.