0

I installed bare-bone FreeBSD, and added a new user. And added sudo package with command pkg_add -r sudo. When I logged into the box with new user account, it cannot run sudo command. What procedure is required to do this?.

Eonil
  • 9,689
  • 15
  • 34
  • 53

2 Answers2

3

Adjust your sudo configuration (sample.sudoers) using visudo.

Perhaps you what something like this.

username    ALL=(ALL) ALL
Zoredache
  • 128,755
  • 40
  • 271
  • 413
1

In Linux you should add it to sudoers group. It should be similar in FreeBSD case

Hosm
  • 53
  • 1
  • 9