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:

SBCL Hello world

SBCL Hello, world! Version info: - OS: Windows 11 23H2 (Microsoft Windows [Version 10.0.22631.7079]) - Emacs: 30.2 - SBCL : 2.6.4 - SLI...