如何更改linux文件目錄擁有者及用戶組

查看用戶和組 1.首先對於經驗操作之前,我們先看下當前系統下的用戶和組。whoami 查看當前登陸用戶 [[email protected] ~]$ whoami root [[email protected] ~]$  2.Passwd文件存儲當前系統所有用戶,而組文件/etc/group記錄。 3.一個用戶可以屬於多個組,查看用戶所屬的組,gourps + 用戶名 [[email protec
相關文章
相關標籤/搜索