ubuntu系统使用

Ubuntu添加用户:
        sudo adduser xxx 这样的命令会在home目录下添加一个帐号
        sudo useradd xxx 仅仅是添加用户, 不会在home目录添加帐号
添加sudo权限:
       vi   /etc/sudoers
     修改如下文件:
     ## Allow  peaple  in  group  wheel  to  run  all  commands
       root    ALL=(ALL:ALL) ALL
       username      ALL=(ALL:ALL) ALL

vim /etc/ssh/sshd_config
注释掉:PermitRootLogin without-password
添加新行:PermitRootLogin yes

Ubuntu 配置文件系统初始化

 
 
  1. /etc/timezone 时区  
  2. /etc/inetd.conf 超级进程 

Ubuntu 配置文件系统

 
 
  1. /etc/fstab 开机时挂载的文件系统  
  2. /etc/mtab 当前挂载的文件系统 

Ubuntu 配置文件用户系统

 
 
  1. /etc/passwd 用户信息  
  2. /etc/shadow 用户密码  
  3. /etc/group 群组信息  
  4. /etc/gshadow 群组密码  
  5. /etc/sudoers Sudoer列表(请使用“visudo”命令修改此文件,而不要直接编辑 

Ubuntu 配置文件Shell

 
 
  1. /etc/shell 可用Shell列表  
  2. /etc/inputrc ReadLine控件设定  
  3. /etc/profile 用户首选项  
  4. /etc/bash.bashrc bash配置文件 

Ubuntu 配置文件系统环境

 
 
  1. /etc/environment 环境变量  
  2. /etc/updatedb.conf 文件检索数据库配置信息  
  3. /etc/issue 发行信息  
  4. /etc/issue.net  
  5. /etc/screenrc 屏幕设定 

Ubuntu 配置文件网络

 
 
  1. /etc/iftab 网卡MAC地址绑定  
  2. /etc/hosts 主机列表  
  3. /etc/hostname 主机名  
  4. /etc/resolv.conf 域名解析服务器地址  
  5. /etc/network/interfaces 网卡配置文件 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/30129545/viewspace-1844369/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/30129545/viewspace-1844369/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值