Sunday, December 22, 2019

su: Sorry on FreeBSD

When running su on FreeBSD and you are getting su: Sorry that could mean that the user is not part of the wheel group. To fix this, do:

  1. Login as root, this can be rebooting the machine or open another TTY terminal (Alt+F2 might help).
  2. Re-mount root filesystem for read/write operation
  3. #: mount -u -w /
    
  4. Add user to the wheel group. Assume below that u1 is the user that will be added to the group
  5. #: pw usermod u1 -G wheel
    
  6. Remount root filesystem back to read-only
  7. #: mount -u -r /
    
If you go back to the psuedo terminal of the u1 user, you should be able to run su this time.

Reference:
https://graspingtech.com/freebsd-fix-su-sorry-message/

No comments:

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04 I am planning to run qemu-system-ppc to play around QEMU ...