- 论坛徽章:
- 0
|
一我想达到的目的:
1.建立administrator用户,其目录为:/etc/administrator
2.建立user1.user2用户,其目录分别为:home/administrator/user1和/home/administrator/user2
3.administrator用户能对home/administrator/user1和/home/administrator/user2具有读写权限
4.user1,user2能通过vsftp登陆,并且登陆后的目录分别为:home/administrator/user1和/home/administrator/user2
二我所遇到的问题
现在我新建administrator用户,默认目录是:/home/administrator.新建user1,user2用户,修改/etc/passwd,使其默认目录为:/home/administrator/user1和/home/administrator/user2,
1)建立home/administrator/user1和/home/administrator/user2,并修改这两个文件所属用户分别为user1,user2,这个时候发现user1,user2不能通过vsftp登陆,显示:500 OOPS: chdir 500 OOPS: child died Connection closed by remote host.
2)chgrp administrator /home/administrator/user1, chgrp administrator /home/administrator/user2 ,然后用administrator ftp登陆,发现不能访问user1目录和user2目录
请各位大虾指点!!! |
|