CentOS7中的桌面环境 1. 安装GNOME桌面环境 1.1. 列出所有安装套件 [root@appclient ~]# yum groups list Loaded plugins: fastestmirror There is no installed groups file. Maybe run: yum groups mark convert (see man yum) base | 3.6 kB 00:00 extras | 3.4 kB 00:00 updates | 3.4 k…
CentOS7配置sudo 如果一些用户共享权限,配置sudo是为了分离用户的职责 1. 将root 的权限传递给所有用户 [root@centos7 ~]# visudo 添加下面的内容到最后一行,使jack拥有root的所有权限 jack ALL=(ALL) ALL [root@centos7 ~]# su - jack Last login: Fri Oct 27 06:52:31 CST 2017 from 192.168.1.100 on pts/0 [jack@centos7 ~]$…
CentOS7服务管理 1. 查看服务 1.1. 查看所有运行的服务 [root@centos7 ~]# systemctl -t service UNIT LOAD ACTIVE SUB DESCRIPTION auditd.service loaded active running Security Auditing Service crond.service loaded active running Command Scheduler dbus.service loaded active…
CentOS7用户管理 1. 添加用户 [root@centos7 ~]# useradd jack [root@centos7 ~]# passwd jack Changing password for user jack. New password: BAD PASSWORD: The password is shorter than 8 characters Retype new password: passwd: all authentication tokens updated suc…