笔者的环境: OS: Ubuntu Linux Browser: Chrome, Firefox 每次希望启动chrome浏览器,系统都会报错: browser-sync start -s --directory -f **/* --browser chrome Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to set the open option t…
最近在学习linux,在某个用户(xxx)下使用sudo的时候,提示以下错误:xxx is not in the sudoers file. This incident will be reported. 百度了下,究其原因是用户没有加入到sudo的配置文件里. 解决方法如下: 1.切换到root用户,运行visudo命令 2.找到root ALL=(ALL) ALL,在下面添加一行 xxx ALL=(ALL) ALL 其中xxx是要加入的用户名称…
Ref:http://blog.sina.com.cn/s/blog_4aa35ca101012qb6.html 装完linux系统,发现普通用户无法使用sudo 命令, 提示:User1(普通用户)is not in the sudoers file, This incident will be reported. 大概意思是说User1这个用户不在sudoers这个文件里,这个事件将要被报告的. 我们可以这样做 [User1@localhost~]$su - (切换到root) 输入超…