07-03-2001
when you issue the command "ftp" you must issue a hostname (or its IP address). If you did not issued the hostname, you can use the " open " command inside ftp. When you get the prompt, type:
ftp> open <hostname>
then you will be asked for an username and a password.
At ftp´s prompt you can type " help ":
ftp> help
Commands may be abbreviated. Commands are:
! help recv
$ image reinitialize
account lcd remotehelp
append local rename
.
.
.
glob quote ?
hash record
ftp>
If ou use unix, the better way is do use man ftp to know the commands.
telnet is similar to ftp. Try out.
HTT
4 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a directory called 'test' which contains many junk files. I want to automate the clean-up task by removing all files which are older than one month. What would be the best option? (3 Replies)
Discussion started by: augustinep
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am not aware whether any one has posted this early or not.
I am creating a house keeping script in which I give the user two options:
1. creating a zip file.
2. removing all files given by user.
Before taking any action I am asking user to
enter full path of file or files to be... (7 Replies)
Discussion started by: Rakesh Bhat
7 Replies
3. UNIX for Dummies Questions & Answers
Hello everyone,
Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware.
I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies
4. OS X (Apple)
Hi guys and gals...
Intel reportedly expects Apple to start the Mac's transition to ARM next year - 9to5Mac (0 Replies)
Discussion started by: wisecracker
0 Replies
LEARN ABOUT LINUX
ftpd_selinux
ftpd_selinux(8) ftpd SELinux policy documentation ftpd_selinux(8)
NAME
ftpd_selinux - Security-Enhanced Linux policy for ftp daemons.
DESCRIPTION
Security-Enhanced Linux provides security for ftp daemons via flexible mandatory access control.
FILE_CONTEXTS
SELinux requires files to have a file type. File types may be specified with semanage and are restored with restorecon. Policy governs the
access that daemons have to files.
Allow ftp servers to read the /var/ftp directory by adding the public_content_t file type to the directory and by restoring the file type.
semanage fcontext -a -t public_content_t "/var/ftp(/.*)?"
restorecon -F -R -v /var/ftp
Allow ftp servers to read and write /var/tmp/incoming by adding the public_content_rw_t type to the directory and by restoring the file
type. This also requires the allow_ftpd_anon_write boolean to be set.
semanage fcontext -a -t public_content_rw_t "/var/ftp/incoming(/.*)?"
restorecon -F -R -v /var/ftp/incoming
BOOLEANS
SELinux policy is based on least privilege required and may also be customizable by setting a boolean with setsebool.
Allow ftp servers to read and write files with the public_content_rw_t file type.
setsebool -P allow_ftpd_anon_write on
Allow ftp servers to read or write files in the user home directories.
setsebool -P ftp_home_dir on
Allow ftp servers to read or write all files on the system.
setsebool -P allow_ftpd_full_access on
Allow ftp servers to use cifs for public file transfer services.
setsebool -P allow_ftpd_use_cifs on
Allow ftp servers to use nfs for public file transfer services.
setsebool -P allow_ftpd_use_nfs on
system-config-selinux is a GUI tool available to customize SELinux policy settings.
AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>.
SEE ALSO
selinux(8), ftpd(8), setsebool(8), semanage(8), restorecon(8)
dwalsh@redhat.com 17 Jan 2005 ftpd_selinux(8)