sudo

  1. F

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

    THERE IS THE COMMAND: sudo pw group mod wheel -m !username_here!
  2. 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...
  3. B

    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...
  4. 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 ?
  5. 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...
  6. 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...
  7. 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...
  8. 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.
  9. 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...
  10. 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.
Top