RedHat AS3.0 配置
- 作者:zhaozj
- 发表时间:2020-12-23 10:39
- 来源:未知
TELNET:vi /etc/xinetd.d/krb5-telnet修改 disable = no重启即可用非root帐户登陆。(用su命令切换到root)
SAMBA:/sbin/service smb start
[root@localhost /]# cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd[root@localhost /]# chmod 600 /etc/samba/smbpasswd[root@localhost /]# smbpasswd liufeiNew SMB password:Retype new SMB password:[root@localhost /]# vi /etc/samba/smb.conf加入: encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd
/sbin/service smb restart要在引导时启动 smb 服务,使用以下命令: /sbin/chkconfig --level 345 smb on