password works for root login but not for user sudo commands

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Pigeons
Posts: 4
Joined: 8. Dec 2014, 00:12

password works for root login but not for user sudo commands

Post by Pigeons »

I am trying to mount a shared folder on my user account but it won't accept my root password when I put 'sudo' in front of the command, I can login to root fine however with the same password! Does anyone know what is going on? I am using Solaris 11 on the virtual box.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: password works for root login but not for user sudo comm

Post by Perryg »

I suspect that your user is not in the sudo file. Google solaris sudo to find out how or use su.
Pigeons
Posts: 4
Joined: 8. Dec 2014, 00:12

Re: password works for root login but not for user sudo comm

Post by Pigeons »

Exactly right, thanks :)
Post Reply