默认root无密码,
passwd设置密码。
添加普通用户adduser
vi /etc/defautls/rc.conf
sshd_enable=”YES”
vi /etc/ssh/sshd_config
ForwardX11 yes
RSAAuthentication yes
PasswordAuthentication yes
普通的用户登录切换root
vi /etc/group
wheel:*:0:root,user
默认root无密码,
passwd设置密码。
添加普通用户adduser
vi /etc/defautls/rc.conf
sshd_enable=”YES”
vi /etc/ssh/sshd_config
ForwardX11 yes
RSAAuthentication yes
PasswordAuthentication yes
普通的用户登录切换root
vi /etc/group
wheel:*:0:root,user