day19.回顾一下创建和删除用户

xiaoxiao2021-02-28  39

第19节:回顾一下创建和删除用户 1)创建一个用户 root@ubuntu:/home# useradd strom 2)查看创建的用户的方式 root@ubuntu:/home# cat /etc/passwd|grep strom strom:x:1001:1001::/home/strom:/bin/sh 3)删除创建的用户 root@ubuntu:/home# userdel strom root@ubuntu:/home# cat /etc/passwd|grep strom
转载请注明原文地址: https://www.6miu.com/read-2613174.html

最新回复(0)