I just did a fresh install of FreeBSD 8 on my server. I installed openeVPN, zsh, sudo and tmux. Anyways, I installed sudo, I edited the config file via
I un-commented
When I sudo a command, I am asked for the password right away. But the command being run
takes 1-2 minutes to activate. It is annoying, but not a huge problem.
The major problem is if I do something like:
to look over the logs and clean them up and save the file.
Once saved no more logs can be written to the file. I tried the same thing
with my samba logs and once I save it after doing a sudo, no logs will be written
to the file.
I know I can just use SU, I am just curious why this would be happening.
If it helps my sudo config in full is:
Code:
visudo
I un-commented
Code:
%wheel ALL=(ALL) ALL
When I sudo a command, I am asked for the password right away. But the command being run
takes 1-2 minutes to activate. It is annoying, but not a huge problem.
The major problem is if I do something like:
Code:
sudo vim /var/log/messages
Once saved no more logs can be written to the file. I tried the same thing
with my samba logs and once I save it after doing a sudo, no logs will be written
to the file.
I know I can just use SU, I am just curious why this would be happening.
If it helps my sudo config in full is:
Code:
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
%wheel ALL=(ALL) ALL