opkg update opkg install shadow-useradd shadow-groupadd shadow-usermod sudo shadow
增加使用者
passwd icekimo
mkdir -p /home/icekimo
chown icekimo /home/icekimo
vi /etc/passwd
icekimo:x:1000:1000:icekimo:/home/icekimo:/bin/bash
opkg install bash
設定群組
groupadd --system sudo
usermod -a -G sudo icekimo
編輯sudo
visudo
## Uncomment to allow members of group sudo to execute any command
%sudo ALL=(ALL) ALL
沒有留言:
張貼留言