Hi,
I ran sudo adduser and then entered all the details for the new user (let's just call the new user username). When I was done I entered yes to 'OK?'
Then, an error came out saying 'adduser: ERROR: There was an error adding user (username)'
I then proceded to try adding user using pw. So, I ran sudo pw useradd username -m -w random.
FreeBSD gave me a randomised password and I logged into username. When I went to the root directory, I could see it didn't have some files like var and media.
I'm just trying to add a new user and give this new user sudo rights. How should I troubleshoot?
I ran sudo adduser and then entered all the details for the new user (let's just call the new user username). When I was done I entered yes to 'OK?'
Then, an error came out saying 'adduser: ERROR: There was an error adding user (username)'
I then proceded to try adding user using pw. So, I ran sudo pw useradd username -m -w random.
FreeBSD gave me a randomised password and I logged into username. When I went to the root directory, I could see it didn't have some files like var and media.
I'm just trying to add a new user and give this new user sudo rights. How should I troubleshoot?