create user but can be identified as another

1

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.

    
asked by ProgrammerJr 03.04.2018 в 16:52
source

0 answers