Mount the shared directory after installing VirtualBox
sudo mount -t vboxsf vmshare ~/vmshare
Unexpectedly, the prompt xxx is not in the sudoers file
Damn centos, there is no such problem with ubuntu
At this time, switch to the root user through su
then execute
visudo
Add text in red box
Please replace with your own username.