sudo

  1. D

    Solved Cannot access root managed functions over XRDP

    I am building a new system, and I use vm-bhyve to manage VM's Surprisingly, once logged in to the system via RDP and becoming root, the VM commands and other root-managed commands are not recognized. For example: "sudo VM list" gets a VM: command not found. While some "sudo" or "su" commands...
  2. rbranco

    Isn't the wheel group too much for simple sudo/doas usage?

    The wheel group is GID 0, which allows more than just running sudo & doas. For this reason I create a special sudo group. Why isn't the wheel group considered harmful?
  3. m_pahlevanzadeh

    Solved sudo -u

    In Linux-box I use sudo -u username cmd, How can I implement it in FreeBSD without sudo?
  4. madwebness

    How to allow wg-quick to be invoked by a user in sudoers?

    Mostly, I don't have a problem with tweaking the sudoers file and tried to read the manual carefully. But the Wireguard thing (and, I suspect, OpenVPN would've behaved much the same way) apparently involves spawning some other processes, which somehow, sudo doesn't cover. I change my VPN...
  5. M

    su: group not found: root

    Hi, every time when I login as root (Putty login, su -) there is new line in /var/log/messages Oct 23 10:33:38 x su[90032]: group not found: root Oct 23 10:33:38 x syslogd: last message repeated 1 times Same does sudo when I use it: Oct 23 10:33:54 x sudo[90073]: group not found: michal Oct...
  6. S

    Sudo Install Fails, Complains About Missing Header Files

    Good Day FreeBSD Forums, I upgraded from 12.2 to 12.3 and have been trying to update all my ports. There was a problem trying to update Sudo (using portmaster, I forget what the exact error was) so I uninstalled Sudo and then tried re-installing it, and this is where I run into the errors...
  7. F

    [INFO] How to avoid from (su: Sorry) error or "message"

    THERE IS THE COMMAND: sudo pw group mod wheel -m !username_here!
  8. TobiasW

    Solved Sudo upgrade asks to remove /usr/local/etc/sudoers

    Hello everybody, today we had a upgrade for sudo: 1.9.5p1 -> 1.9.5p2. I think it is related to following security advisory. I wonder about the install notice: Did anyone dig deeper into it and can tell me why I would like to remove the file? Usually I edit sudoers via visudo. For now I...
  9. byrnejb

    Solved how to pass env to sh through sudo

    I am installing idempiere and I am at the last script. Which is: #!/bin/sh # if [ $JAVA_HOME ]; then JAVA=$JAVA_HOME/bin/java else JAVA=java echo JAVA_HOME is not set. echo You may not be able to start the Setup echo Set JAVA_HOME to the directory of your local JDK. fi # sign...
  10. R

    Segmentation Fault 11

    hi, When I run a command inside a a jail using sudo I get a segmentation fault but running the command normally works. How do I go about trouble shooting this ?
  11. NapoleonWils0n

    doas tips - sudo alternative

    Some tips on using doas the sudo alternative ported from Openbsd install doas # pkg install doas Create the doas config file # vi /usr/local/etc/doas.conf The username and groups follow the chown syntax, ther username or group is preceded by the : colon character eg :username :groupname...
  12. NapoleonWils0n

    doas - sudo alternative

    doas is a sudo alternative ported from openbsd install doas # pkg install doas create the doas config file # vi /usr/local/etc/doas.conf add the following code to the doas.conf file permit nopass keepenv :wheel permit nopass keepenv root as root make sure your user is in the wheel group...
  13. B

    How to leave a user non-root to use sudo

    "I must give permissions to my account that isn't root. What should I do?" There are tutorials that explain it very well. It is something very basic. So, let's begin: firstly, you must edit the /usr/local/etc/sudoers using nano Add this line: user_name ALL=(ALL) ALL : here "user_name" it's...
  14. B

    How to authorize an user non root

    I'm trying to install a desktop environment in one account that isn't root. But I can't. It says that the user doesn't appear in the "sudoers" file. Give me a moment and I'll give you the specific output.
  15. IPTRACE

    10.3->11.0 (after upgrade cannot use sudo and pkg)

    Hello! After upgrade I cannot use sudo nad even pkg. Is it a bug? sudo: error in /usr/local/etc/sudo.conf, line 0 while loading plugin `sudoers_policy' sudo: unable to load /usr/local/libexec/sudo/sudoers.so: Shared object "libpam.so.5" not found, required by "sudoers.so" sudo: fatal error...
  16. daBee

    Solved su Not Taking in visudoers

    I've entered a user for sudoers: alex ALL=(ALL) NOPASSWD: ALL Unfortunately it replies with Sorry upon trying su. Is this the right syntax? Any insight appreciated.
Back
Top