logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

ubuntu 将一般的用户加入sudo组 is not in the sudoers file

在ubuntu中新增加一个新的用户时,如useradd XXX,执行sudo命令的时候会提示xxx is not in the sudoers file. This incident will be reported. 解决方法:1) 首先需要切换到root, su - (注意有- ,这和su是不同的,在用命令"su"的时候只是切换到root,但没有把root的环境变量传过去,

#ubuntu#vim
ubuntu 12.04安装telnet和ssh服务

ubuntu安装telnet服务1. sudo apt-get install xinetd telnetdsudo vi /etc/inetd.conf并加入以下一行,假如没有发现这个文件,自己新建立一个也是可以的哦,刚开始我也不知道,自己试了之后才知道的。telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in

#ubuntu#ssh
到底了