[S10] 需要自己创建一个/etc/shells。添加一行 bash-3.00# cat /etc/shells /bin/true bash-3.00# grep user1 /etc/passwd user1:x:60005:1::/export/home/user1:/bin/true
这样该用户就可以ftp,但不可以有shell会话了。
[S10] 需要自己创建一个/etc/shells。添加一行 bash-3.00# cat /etc/shells /bin/true bash-3.00# grep user1 /etc/passwd user1:x:60005:1::/export/home/user1:/bin/true
这样该用户就可以ftp,但不可以有shell会话了。