centos中sudo

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.

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326943794&siteId=291194637