Find the answer to your Linux question:
Results 1 to 3 of 3
Hello and thank you! I am trying to mount a shared folder between the host (windows 7 64bit) and guest (CentOS) and I am having trouble accessing the shared folder! ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2013
    Posts
    14

    VirtualBox Redhat 64bit CentOS - User is not in the sudoers file


    Hello and thank you!

    I am trying to mount a shared folder between the host (windows 7 64bit) and guest (CentOS) and I am having trouble accessing the shared folder!

    Under /media/sf_shared I get 'permission denied.' I then use the command line to sudo cd /media/sf_shared and get the message:

    USER is not in the sudoer file. This incident will be reported.

    I read online forums saying to go to administration -> User and groups and add yourself to sudoer. There is no sudoer or sudo or any su group in the list. Furthermore, another forum said to use the sudo command to change the /etc/sudoer list and of course, I cannot do that because I get the same error message (obviously -- the original problem is that I CANNOT USE SUDO).

    I wasted so much time on something that should be so petty. I need help please!

  2. #2
    Linux Engineer docbop's Avatar
    Join Date
    Nov 2009
    Location
    Woodshed, CA
    Posts
    947
    Open a terminal as root type visudo to edit the sudoers file.

  3. #3
    Just Joined!
    Join Date
    Jun 2013
    Posts
    14
    I appreciate it, yeah. Typed in 'su' and became root and then I was able to do it. Thanks a lot!

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •