- 設置 Ubuntu 默認以 root 用戶登錄,打開 CMD 輸入
ubuntu config --default-user root
2. 打開 Ubuntu,用 passwd root 命令設置 root 用戶密碼;再用passwd abc 設置普通帳戶密碼
3. 設置默認以普通用戶身份登錄 Ubuntu:
ubuntu config --default-user username
ubuntu config --default-user root
2. 打開 Ubuntu,用 passwd root 命令設置 root 用戶密碼;再用passwd abc 設置普通帳戶密碼
3. 設置默認以普通用戶身份登錄 Ubuntu:
ubuntu config --default-user username
su vim /etc/sudoers yy root = ALL ALL p 修改爲 wangfj = ALL ALL