搭配好vagrant系统后,默认都是使用vagrant用户登录的,如果想改用root用户登录的话,可以使用下面的几条命令
sudo passwd root
su root //根据自己输入的密码,登录root用户