![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux Environment
jerry_zjunwei
这个作者很懒,什么都没留下…
展开
-
Linux环境中USB转串口的应用(minicom)
看到网上很多人写的都是PL2303驱动,甚至还有人上传了原代码。 自己也准备下载编译一下。 突然发现 jerry@ubuntu:~/tmp$ lsusb Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1原创 2012-03-26 21:04:52 · 883 阅读 · 0 评论 -
设置root密码
jerry@ubuntu:~$ sudo passwd root [sudo] password for jerry: 输入新的 UNIX 密码: 重新输入新的 UNIX 密码: passwd:已成功更新密码 jerry@ubuntu:~$ su - 密码: root@ubuntu:~#原创 2012-03-26 20:08:01 · 224 阅读 · 0 评论 -
sudo command 不再输入密码(/etc/sudoers)
1. 进入root用户 jerry@ubuntu:~$ su - 密码: 2. 修改/etc/sudoers属性 root@ubuntu:~# chmod 740 /etc/sudoers 3. 修改最后一行 root@ubuntu:~# vim /etc/sudoers %admin ALL=(ALL) ALL 改为: %admin ALL=NOPASSWD:原创 2012-03-26 20:18:16 · 521 阅读 · 0 评论 -
Ubuntu 12.04 sudo 不需要输入密码
(1) $ su - (2) #chmod 660 /etc/sudoer (3) modify it as follow:(using sudo without password) %sudo ALL=NOPASSWD: ALL (4) #chmod 440 /etc/sudoer (5) add user to sudo group $sudo ad原创 2012-08-20 20:49:06 · 2004 阅读 · 0 评论