I was trying to install docker on my freebsd via this and after i ran
i could not call the su command.
I tried to boot from single user and ran
but i get this error output:
pw:gr_tmp(): Read-Only file system.
I tried to boot from the single user and change the /etc/group but i could not change the file, as it is read only as well.
I tried with chmod g+w /etc/group in single user mode as well but still no luck with this error output:
chmod: group: Read-only file system.
Any ideas how i can add again my user in the wheel group? Also, i think my user got removed from the video group so by fixing that it should fix another issue as well.
Code:
pw usermod <myName> -G operator
I tried to boot from single user and ran
Code:
pw usermod <myName> -G wheel
pw:gr_tmp(): Read-Only file system.
I tried to boot from the single user and change the /etc/group but i could not change the file, as it is read only as well.
I tried with chmod g+w /etc/group in single user mode as well but still no luck with this error output:
chmod: group: Read-only file system.
Any ideas how i can add again my user in the wheel group? Also, i think my user got removed from the video group so by fixing that it should fix another issue as well.