[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:01093] Re: about ftp & mount



樋口です。

# 嘘言ってたらフォローしてくださいね。^_^

<000801be447c$b5a6e600$8966fea9@c1>の記事において
yuu1@alles.or.jpさんは書きました。

>> そこで一つ目の疑問なのですが、なぜかftpコマンドがrootではできないのです。

確かに、そうなりますね。で、ftpされた側の、/var/adm/messagesをみると。

Jan 21 08:59:22 sphinx ftpd[16037]: FTP LOGIN REFUSED (bad shell or username in
/etc/ftpusers) FROM 172.17.8.52 [172.17.8.52], root

と記録されています。で、/etc/ftpusersの中身を見ると、

# ftpusers      This file describes the names of the users that may
#               _*NOT*_ log into the system via the FTP server.
#               This usually includes "root", "uucp", "news" and the
#               like, because those users have too much power to be
#               allowed to do "just" FTP...

とありますので、root、news、uucpではFTPログインできないと理解します。

>> ftpコマンドでは、ディレクトリごと一気にputしたりgetしたりできないようなの
>> で、

NcFTPでは駄目ですか?これを使用すると、get -R として、ディレクトリごと
持ってこれます。

>> 4)  その後、C1側で mount 192.168.10.1:/cdrom /nfs とすると、

確認しますが、mount 192. -> mount -t nfs 192. ではありませんか?
あと、/etc/exportsに、(ro)とかの指定はなくてもいいのかな?


Follow-Ups
[plamo:01098] Re: about ftp & mount, Shigeo Sagai
References
[plamo:01089] about ftp & mount, Yuuichi Sato

[検索ページ] [メール一覧]
Plamo ML 公開システム