04-15-2011
susheel
check services then after go for #vi /etc/ftpd/ftpusers
and place comment beside of root
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I have turn off the FTP service and rebooted the server .
(edit /etc/inetd.conf and /etc/inet/services)
Now , how can I enable back the FTP without rebooting the server .
Thanks (1 Reply)
Discussion started by: civic2005
1 Replies
2. Solaris
Hi Friends,
I would like to block the root user for doing ftp. As I am aware that I need to put the entry for root in /etc/ftpusers.....am I right...??? But I am not able to edit the file & even more command is not working.
#ls -l ftp*
total 14
-rw-r--r-- 1 root sys 1249 Jun... (3 Replies)
Discussion started by: jumadhiya
3 Replies
3. Linux
How to Enable TELNET for root user in Linux. (3 Replies)
Discussion started by: sakthi_13
3 Replies
4. Solaris
Hi I have a doubt, here if a file does not have the write permissions to the root user my script is going to write the data into that file. when i executed the script as root user. Is it correct ... ? (4 Replies)
Discussion started by: Shreedhar Naik
4 Replies
5. Solaris
Hi,
How can I start CDE for non root user created.For root CDE is working fine but for non root user CDE exits back to login screen after trying for some time.Also I cant see .dt and .dtprofile files in the users home directory.How can I create them.Kindly help.
Thanks & Regards,
Kiran. (1 Reply)
Discussion started by: kiranherekar
1 Replies
6. Solaris
Please let me know how to setup a non-root user to be able to access a privileged port (<1024) on Solaris 8. I am currently running tomcat as "tomcat" user and I get the following error during to start up:
SEVERE: Error initializing endpoint
java.net.BindException: Permission denied<null>:443 (5 Replies)
Discussion started by: pingmeback
5 Replies
7. Solaris
Hi,
I am using Solaris 10. I am trying to create a restricted user:
1. which can ftp in to and ftp out from a Directory Tree
2. which can use only commands: prompt, get, mget, put, mput, delete, mdelete
First of all I would like to know, whether this is possible or not
If it is possible,... (1 Reply)
Discussion started by: SnehalRBhatt
1 Replies
8. Shell Programming and Scripting
Password:
Using keyboard-interactive authentication.
Do you agree with the banner terms (y/n)?: y (4 Replies)
Discussion started by: frintocf
4 Replies
9. Solaris
Welcome to all.
Have an issue and looking for help so hope someone is able to give me some clues.
I prepared some shell scripts with coloured output to help other guys to have more automated task. Not sure if I did this but now whenever I use 'ls' command for root user every output in... (29 Replies)
Discussion started by: TiedCone
29 Replies
10. Solaris
Hello,
I got into a wired state on one of solaris 10 server. When I noticed that server is having some issue, I found that there were dumpadm.conf entries in /etc/shadow and real entries were wiped of. Probably somebody fat fingers.
I was able to boot into failsafe, break SVM mirror, copied... (25 Replies)
Discussion started by: solaris_1977
25 Replies
LEARN ABOUT PHP
ftpaddhost
ftpaddhost(1M) System Administration Commands ftpaddhost(1M)
NAME
ftpaddhost - set up a virtual FTP host
SYNOPSIS
ftpaddhost -c | -l [-b] [-x xferlog] hostname root_dir
DESCRIPTION
The ftpaddhost script is executed by the super user to set up virtual FTP hosts. The ftpaddhost command configures the virtual host host-
name under directory root_dir. The value of hostname can be an IP address or the name of a host.
OPTIONS
The ftpaddhost script supports the following options:
-b Create a banner for the virtual host. This option is useful to confirm that the virtual host is working.
-c Configure complete virtual hosting. This option allows each virtual host to have its own version of the ftpaccess,
ftpconversions, ftpgroups, ftphosts, and ftpusers files. The master version of each of these configuration files is
copied from the /etc/ftpd directory and placed in the /etc/ftpd/virtual-ftpd/hostname directory. If the
/etc/ftpusers file exists it is appended to the virtual ftpusers file. If a virtual host lacks its own version of a
configuration file, the master version is used.
-l Configure limited virtual hosting. This option allows a small number of parameters to be configured differently
for a virtual host. See the virtual keyword on the ftpaccess(4) manual page.
-x xferlog Create a logfile entry such that the transfer logs for the virtual host are written to the specified file. An abso-
lute path must be specified for the xferlog file.
OPERANDS
The following operands are supported:
hostname The host name or IP address of the virtual server.
root_dir The absolute pathname of the directory under which the virtual server is set up.
EXIT STATUS
The following exit values are returned:
0 Successful completion
1 Improper usage of the command
2 Command failed
FILES
/etc/ftpd/virtual-ftpd/hostname The configuration files directory for the virtual host hostname.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWftpu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
ftpconfig(1M), in.ftpd(1M), ftpaccess(4), ftpconversions(4), ftpgroups(4), ftphosts(4), ftpusers(4), xferlog(4), attributes(5)
SunOS 5.10 1 May 2003 ftpaddhost(1M)