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?
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...
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...
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...
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...
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...
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 ?
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...
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...
"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...
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.
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...
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.