你是要给他什么空间?web还是ftp? 这是两回事。
如果只是ftp空间,加完用户后,默认他就可以用了,是他用ftp,不是你这头。
$ ftp yourIP
Connected to ......
220 (whatEverFTPd whatEverVersion)
Name (yourIP:hisUserName):xxxxx
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
然后他就可以用 get, put ... 等命令来上传下载等功能
如果是给你的朋友的是web空间,那取决于你用的web服务器,如果是apache,那要在apache的配置文件httpd.conf中加入用户路径或者虚拟主机。如果是其它web服务器也是类似修改配置文件。