Hi
I would like to transfert files in betwen differents pcs on my home network.
cf45 laptop with mandrake 9
p3_600 with free mandriva 2006
amd_2000 with fc7
p3_933 with free mandriva 2007
toshiba laptop a70 with windows xp
I can use ftp command line or web browser from my pc to all the others except for my fc7.
here the step i tried:
[root@amd2k gaetan]# rpm -qa | grep ftp
lftp-3.5.10-3.fc7
proftpd-1.3.0a-8.fc7
ftp-0.17-41.fc7
next i looked in taskbar/system/administration/services
i can't find proftp or ftpd listed.
[root@amd2k gaetan]# find / -name proftp*
/home/gaetan/proftpd-1.2.10-1.fc1.i386.rpm
[root@amd2k gaetan]#
[root@amd2k gaetan]# ls /lib/libcrypto*
/lib/libcrypto.so.0.9.7a /lib/libcrypto.so.4
/lib/libcrypto.so.0.9.8b /lib/libcrypto.so.6
[root@amd2k gaetan]# ls /lib/libssl*
/lib/libssl.so.0.9.7a /lib/libssl.so.4
/lib/libssl.so.0.9.8b /lib/libssl.so.6
[root@amd2k gaetan]#
note: i originaly installed proftp version1.2.10 but upon reboot the system mentionned the update wich i installed.
Used webmin remotly from mandriva station and compare the service proftpd on both station and beside difference du to distro it seems ok
i also verified the status of proftpd
[root@amd2k sbin]# ./service proftpd status
proftpd is stopped
[root@amd2k sbin]# ./service proftpd start
Starting proftpd: [FAILED]
[root@amd2k sbin]#
Stil trying to figure it out by myself while waiting for assistance.Here is the content of /var/log/messages
Oct 28 10:26:56 amd2k kernel: audit(1193581616.577:8): avc: denied { read } for pid=16555 comm="proftpd" name=
"proftpd.conf" dev=dm-0 ino=9363997 scontext=user_u:system_r:ftpd_t:s0 tcontext=system_u
bject_r:rpm_script_tmp_
t:s0 tclass=file
could someone tell me whatelse i should look at to get this distro working with ftp transfert
I found the following on the web:
You are likely getting SELinux AVC denied messages in your /var/log/messages. The setenforce command switches SELinux between enforcing (preventing denied operations from occuring) and permissive (allowing denied operations, but still logging them.
First, make sure you have all current maintenance applied. If you are still having the problem, then issue this command to convert the AVC denied messages to SELinux allow policy statements:
audit2allow -i /var/log/messages -l
To add local policy statements, install the targeted policy source:
yum -y install selinux-policy-targeted-sources
Then add the statements to the file (create the file if needed):
vi /etc/selinux/targeted/src/policy/domains/misc/local.te
Then reload the policy with you local statements:
cd /etc/selinux/targeted/src/policy/
make reload
You can repeat this process any time that you encounter an AVC denied message in /var/log/messages, for an operation that you want to permit. Most issues have been addressed in the current maintenance, so unless you are installing non-Fedora distributed software, the need for this will be rare.
now i can ftp to the machine as anonymous till i learn to modify the setting
ehawk i will keep your suggestion in mind but for now being a newbie i have so much to learn i will play with vsftp
tanks
emeut