Linux普通用戶偽裝root用戶
Linux普通用戶偽裝root用戶
1版本信息;系統(tǒng)版本:RedHatEnterpriseLinux*。 。2配置步驟;2.1添加新用戶;添加新用戶。 。useradd ;username。 。2.2修改用戶密碼;修改用戶密碼。 。passwd ;username。 。2.3修改passwd配置文件。修改passwd文件,將root的信息賦予新用戶username。 。vi ;/etc/passwd。 。#將root后面的內(nèi)容復(fù)制給新用戶。root:x:0:0:root:/root:/bin/bash。username:x:0:0:root:/root:/bin/bash。 。2.4驗證偽裝;
導(dǎo)讀1版本信息;系統(tǒng)版本:RedHatEnterpriseLinux*。 。2配置步驟;2.1添加新用戶;添加新用戶。 。useradd ;username。 。2.2修改用戶密碼;修改用戶密碼。 。passwd ;username。 。2.3修改passwd配置文件。修改passwd文件,將root的信息賦予新用戶username。 。vi ;/etc/passwd。 。#將root后面的內(nèi)容復(fù)制給新用戶。root:x:0:0:root:/root:/bin/bash。username:x:0:0:root:/root:/bin/bash。 。2.4驗證偽裝;
系統(tǒng)大全為您提供1版本信息系統(tǒng)版本:RedHatEnterpriseLinux*?2配置步驟2.1添加新用戶添加新用戶。?useradd?username?2.2修改用戶密碼修改用戶密碼。?passwd?username?2.3修改passwd配置文件修改passwd文件,將root的信息賦予新用戶username。?vi?/etc/passwd?#將root后面的內(nèi)容復(fù)制給新用戶root:x:0:0:root:/root:/bin/bashusername:x:0:0:root:/root:/bin/bash?2.4驗證偽裝使用su命令來驗證,如果顯示為root說明偽裝成功。?su-username?[root@hostname~]#??以上就是系統(tǒng)大全給大家介紹的如何使的方法都有一定的了解了吧,好了,如果大家還想了解更多的資訊,那就趕緊點擊系統(tǒng)大全官網(wǎng)吧。本文來自系統(tǒng)大全http:///如需轉(zhuǎn)載請注明!推薦:win7純凈版
Linux普通用戶偽裝root用戶
1版本信息;系統(tǒng)版本:RedHatEnterpriseLinux*。 。2配置步驟;2.1添加新用戶;添加新用戶。 。useradd ;username。 。2.2修改用戶密碼;修改用戶密碼。 。passwd ;username。 。2.3修改passwd配置文件。修改passwd文件,將root的信息賦予新用戶username。 。vi ;/etc/passwd。 。#將root后面的內(nèi)容復(fù)制給新用戶。root:x:0:0:root:/root:/bin/bash。username:x:0:0:root:/root:/bin/bash。 。2.4驗證偽裝;
為你推薦