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
  • 10,459
  • 16
  • 36
  • 54

2 Answers2

3

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

Perhaps you what something like this.

username    ALL=(ALL) ALL
Zoredache
  • 130,897
  • 41
  • 276
  • 420
1

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

Hosm
  • 53
  • 1
  • 9