I have a problem. When I enter a Ubuntu machine, I see this messages:
Could not chdir to home directory /home/root: No such file or directory /usr/bin/xauth: error in locking authority file /home/root/.Xauthority
When I make
whoami, I receive the answer:
but no directory /home/root exist.
When I am trying to create a new user:
adduser blabla, I receive this error:
adduser: Only root may add a user or group to the system.
When I am trying to create it in a different way:
useradd -m blabla, I receive:
useradd: Permission denied. useradd: cannot lock /etc/passwd; try again later.
someone can explain me what went wrong?
Thanks in Advance