I created a user with root access
useradd -ou 0 -g 0 myuser -p 
when I try to su to the new user, I get:
: No such file or directory
when I want to connect as that user via ssh, I get:
Permission denied, please try again.
So, I checked
To test it, I created another user without root access and it worked very well.
I also added this line to
/etc/sudoers but it still doesn't work:
root ALL=(ALL) ALL myuser ALL=(ALL) ALL
I then changed
PermitRootLogin in sshd_config but still no luck :(
How can I create a user with root access and ssh into my machine as that user?