Minix install後の作業。

Post Installation
http://wiki.minix3.org/en/UsersGuide/PostInstallation

rootのpassword設定
#passwd

Timezoneの設定
echo export TZ=Japan>/etc/rc.timezone
a0021920_18184459.gif


GroupとUserの追加
echo 'wheel:*:12:' >> /etc/group
adduser vmuser wheel /home/vmuser
a0021920_18195758.gif


補足:
GroupとUserの削除

Userの削除
grep -v '^vmuser:' /etc/passwd > /tmp/passwd
mv /tmp/passwd /etc/passwd
grep -v '^vmuser:' /etc/shadow > /tmp/shadow
mv /tmp/shadow /etc/shadow

groupの削除
grep -v '^wheel:' /etc/group > /tmp/group
mv /tmp/group /etc/group
[PR]
by tenten909 | 2011-05-05 18:22 | PC-Unix等