Gpasswd
–a
student1
student
例
:
把
student1
退
出
student
组
Gpasswd
–d
student1
student
例
:
把
student
的
管
理
员
指
派
给
yz
Gpasswd
–A
yz
student
8
、
groupmod
修
改
组
groupmod –n student students
修 改
student 组 名 为 students
9
、
groupdel
删
除
组
groupdel
students
删
除
组
students
10
、
用
ifconfig
配
置
网
卡
ifconfig
eth0
192.168.0.1
ifconfig
eth0
down
ifconfig
eth0
up
ifconfig
eth0
netmask
255.255.255.0
ifconfig
eth0
192.168.0.1
netmask
255.255.255.0
ifconfig
eth0
-broadcast
192.168.0.255
ifconfig
eth0
ifconfig
11
、
用
route
命
令
是
查
看
和
设
置
路
由
route add 0.0.0.0 gw 172.16.19.254—— 增 加 一 个 默 认 默 认 网 关
route del 0.0.0.0 gw 172.16.19.254—— 删 除 一 个 默 认 网 关
route——显示出当前路由表