Friday, 18 April 2014

Apache Server Interview Questions and Answers for Linux.

Q-1: - What is location of log files for Apache server ?
Ans: - /var/log/httpd
Q-2: - What are the types of virtual hosts ?
Ans: - name-based and IP-based.
Name-based virtual host means that multiple names are running on each IP address.
IP-based virtual host means that a different IP address exists for each website served. Most configurations are named-based because it only requires one IP address.
Q-3: - How to restart Apache web server ?
Ans: - service httpd restart
Q-4: - How to check the version of Apache server ?
Ans: - rpm -qa |grep httpd
Q-5: - What is meaning of "Listen" in httpd.conf file ?
Ans: - Port number on which to listen for nonsecure (http) transfers.
Q-6: - What is DocumentRoot ?
Ans: - it is a location of files which are accessible by clients. By default, the Apache HTTP server in RedHat Enterprise Linux is configured to serve files from the /var/www/html/ directory.
Q-7: - On which port Apache server works ?
Ans: - http - port 80 & https - port 443
Q-8: - Tell me name of main configuration file of Apache server ?
Ans: - httpd.conf
Q-9: - On which version of apache you have worked ?
Ans: - httpd-2.2.3
Q-10: - What do you mean by a valid ServerName directive?
Ans: - The DNS system is used to associate IP addresses with domain names. The value of ServerName is returned when the server generates a URL. If you are using a certain domain name, you must make sure that it is included in your DNS system and will be available to clients visiting your site.
Q-11: - What is the main difference between <Location> and <Directory> sections?
Ans: - Directory sections refer to file system objects; Location sections refer to elements in the address bar of the Web page
Q-12: - What is the use of mod_perl module?

Ans: - mod_perl scripting module to allow better Perl script performance and easy integration with the Web server.
Q-13: - If you have added “loglevel Debug” in httpd.conf file, than what will happen?
Ans: - It will give you more information in the error log in order to debug a problem.
Q-14: - Can you record the MAC (hardware) address of clients that access your server.
Ans: - No
Q-15: - Can you record all the cookies sent to your server by clients in Web Server logs?
Ans: - Yes, add following lines in httpd.conf file.

CustomLog logs/cookies_in.log "%{UNIQUE_ID}e %{Cookie}i" CustomLog logs/cookies2_in.log "%{UNIQUE_ID}e %{Cookie2}i"
Q-16: - Can we do automatically roll over the Apache logs at specific times without having to shut down and restart the server?
Ans: - Yes
Use CustomLog and the rotatelogs programs

Add following line in httpd.conf file. CustomLog "| /path/to/rotatelogs/path/to/logs/access_log.%Y-%m-%d 86400" combined
Q-17: - What we can do to find out how people are reaching your site?
Ans: - Add the following effector to your activity log format. %{Referer}
Q-18: - If you have only one IP address, but you want to host two web sites on your server. What will you do?Ans: - In this case I will use Name Based Virtual hosting.
ServerName 10.111.203.25
NameVirtualHost *:80
<VirtualHost *:80>
ServerName web1.test.com
DocumentRoot /var/www/html/web1
</VirtualHost>

<VirtualHost *:80>
ServerName web2.test2.com
DocumentRoot /var/www/html/web2
</VirtualHost>
Q-19: - Can I serve content out of a directory other than the DocumentRootdirectory?
Ans: - Yes, by using “Alias” we can do this.
Q-20: - If you have to more than one URL map to the same directory but you don't have multiple Alias directives. What you will do?
Ans: - In this case I will use “AliasMatch” directives.

The AliasMatch directive allows you to use regular expressions to match arbitrary patterns in URLs and map anything matching the pattern to the desired URL.
Q-21: - How you will put a limit on uploads on your web server?
Ans: - This can be achieved by LimitRequestBody directive.
<Directory "/var/www/html/data_uploads">
LimitRequestBody 100000
</Directory>
Here I have put limit of 100000 Bytes
Q-22: - I want to stop people using my site by Proxy server. Is it possible?
Ans: - <Directory proxy:http://www.test.com/myfiles>
Order Allow,Deny
Deny from all
Satisfy All
</Directory>
Q-23: - What is mod_evasive module?
Ans: - mod_evasive is a third-party module that performs one simple task, and performs it very well. It detects when your site is receiving a Denial of Service (DoS) attack, and it prevents that attack from doing as much damage. mod_evasive detects when a single client is making multiple requests in a short period of time, and denies further requests from that client. The period for which the ban is in place can be very short, because it just gets renewed the next time a request is detected from that same host.
Q-24: - How t to enable PHP scripts on your server?
Ans: - If you have mod_php installed, use AddHandler to map .php and .phtml files to the PHP handler. AddHandler application/x-httpd-php .phtml .php
Q-25: - Which tool you have used for Apache benchmarking?
Ans: - ab (Apache bench)
ab -n 1000 -c 10 http://www.test.com/test.html
Q-26: - Can we cache files which are viewed frequently?
Ans: - Yes we can do it by using mod_file_cache module.
CacheFile /www/htdocs/index.html
Q-27: - Can we have two apache servers having diff versions?
Ans: - Yes, you can have two different apache servers on one server, but they can't listen to the same port at the same time.Normally apache listens to port 80 which is the default HTTP port. The second apache version should listen to another port with the Listen option in httpd.conf, for example to port 81.
For testing a new apache version before moving your sites from one version to another, this might be a good option.You just type www.example.com:81 in the browser window and you will be connected to the second apache instance.
  For any query please feel free to contact me my email id is sashwatkatore@gmail.com.

Wednesday, 16 April 2014

SAMBA Server Interview Questions and Answers for Linux.

Q-1: - Which SELinux security context used for SAMBA ?
Ans: - samba_share_t
Q-2: - On which ports SAMBA server works ?
Ans: -  UDP port 137 for netbios-ns, the NETBIOS Name Service
- UDP port 138 for netbios-dgm, the NETBIOS Datagram Service
- TCP port 139 for netbios-ssn, the NETBIOS session service
- TCP port 445 for microsoft-ds, the Microsoft Domain Service
Q-3: - What are the Secrity or Authentication Mode for SAMBA server?
Ans: - ADS
DOMAIN
SERVER
USER
SHARE
Q-4: - How to Manually Create Machine Trust Accounts ?Ans: - /usr/sbin/useradd -g machines -d /var/lib/nobody -c "machine nickname" -s /bin/false machine_name$
passwd -l machine_name$
Q-5: - What are the SAMBA server Types ?
Ans: - - Primary Domain Controller (PDC)
- Backup Domain Controller (BDC)
- ADS Domain Controller
Q-6: - Which protocol SAMBA server uses ?
Ans: - SMB, which stands for Server Message Block, is a protocol for sharing files, printers, serial ports, and communications abstractions such as named pipes and mail slots between computers.
Q-7: - How Does a Workstation find its Domain Controller?
Ans: - There are two different mechanisms to locate a domain controller: one
method is used when NetBIOS over TCP/IP is enabled and the other when
it has been disabled in the TCP/IP network configuration. Where NetBIOS over TCP/IP is disabled, all name resolution involves the use of DNS, broadcast messaging over UDP, as well as Active Directory communication technologies.
Q-8: - Can Samba Be a Backup Domain Controller to an NT4 PDC?
Ans: - No. The native NT4 SAM replication protocols have not yet been fully implemented.
Q-9: - How Do I Replicate the smbpasswd File?
Ans: - Replication of the smbpasswd file is sensitive. It has to be done whenever
changes to the SAM are made. Every user's password change is done in
the smbpasswd file and has to be replicated to the BDC. So replicating the
smbpasswd file very often is necessary.As the smbpasswd file contains plaintext password equivalents, it must not be sent unencrypted over the wire. The best way to set up smbpasswd replication from the PDC to the BDC is to use the utility rsync. rsync can use ssh as a transport. ssh itself can be set up to accept only rsync transfer without requiring the user to type a password.As said a few times before, use of this method is broken and awed. Machine trust accounts will go out of sync, resulting in a broken domain. This method is not recommended. Try using LDAP instead.
Q-10: - Can Samba fully replace my Windows NT server that is not a Primary Domain Controller (PDC)?
Ans: - Samba can completely serve files and printers to Windows, just as a Windows NT server would.
Q-11: - Can Samba replaces my Windows NT PDC?
Ans: - Not completely. Samba domain control capabilities for a Windows 9x client are
 solid and complete, and so these clients would probably never know the difference. The domain control support for Windows NT/2000 clients is still being developed. Currently, enough has been implemented to allow a Windows NT client to join a Samba-controlled domain, but there is more to domain control than that. The most conspicuous absence is the lack of support for Windows NT trust relationships and the SAM replication protocol used between NT PDCs and Backup Domain Controllers (BDCs).
Q-12: - What TCP and UDP ports required for NetBIOS over TCP/IP use?
Ans: - The NBT name service uses port 137/udp, the NBT session service uses port139/tcp, and the NBT datagram service uses port 138/udp.
Q-13: -  How SMB protocol works?
Ans: - There will be three stages in creating an SMB connection between a client and a specific share on a server.
The first stage in connecting to an SMB share is to negotiate the SMB protocol dialect to use. In the request packet, the client sends a text listing of all the SMB dialects that it understands. The server selects the most advanced protocol that it knows and responds to the client, specifying the protocol number from the list. At this point, the client and server have agreed that SMB commands can be used for the remainder of the conversation.
The second stage is to create a session connection between the client and server. To do this, the client issues a session setup request, which includes a sername and some proof of validity, such as a password. The server attempts to validate requesting user. If successful, the server then returns a session UID to client. This UID is unique for each session and has no relation to the server internal representation of users.
The third stage before access to files on a remote share is allowed is for the client to make a successful tree connection to the shared resource. The client sends to the server a tree connect request, which includes the UID previously issued by the server. At this stage the server verifies that the authenticated user is authorized to access the requested resource. If the user has sufficient privileges to access the share, the client is issued a tree connection ID (TID). The TID is used in all requests to access files contained in the resource to which the TID refers.

In this way SMB protocol works.
Q-14: - How man sections samba configuration file (smb.conf) contains?
Ans: - smb.conf file contains three sections.
1. [global] Contains settings that determine Samba overall behavior.
2. [homes] A default share for providing a home directory for all users.
3. [printers] A default share for exporting all printers on the host via CIFS.
Q-15: - If a netbios name is not defined in smb.conf, than what will be netbios name?
Ans: - If a netbios name is not defined, Samba will use the IP hostname of the server by default.
Q-16: -  I want to use User level security for my samba server than what i have to add in smb.conf file?
Ans: - security = user
Q-17: -  How you will verify that your smb.conf file doesn’t have any mistakes and misspellings?
Ans: - "testparm " tool that verifies the syntax of a configuration file(smb.conf). testparm -s smb.conf
Q-18: -  What is the use of "smbclient" command?
Ans: - "smbclient" is used to display the list of shares on your server. This verifies that smbd is running and functioning correctly. The -L option instructs smbclient to enumerate the shares on the server rather than actually connecting to one. The   -N switch instructs smbclient to use an anonymous login rather than the login name of the current user.
smbclient -L localhost -N
Antother use of "smbclient" command to connect the samba share.
smbclient //<server>/<share> -U <username>
Q-19: -  Explain "smbstatus" command?
Ans: - The smbstatus utility displays information about connected users and currently locked files.
Q-20: - Is it possible for Samba to share file systems that have been mounted using NFS?
Ans: - Yes. However, this can be problematic if the NFS server that provides the file system fails, causing the Samba server to hang. It is always safer to use Samba to share a local file system.
Q-21: - How many simultaneous connections can a Samba server support?
Ans: - In theory, there is no limit. In practice, the limit is determined by the server’s hardware, specifically the total amount of available RAM and the CPU power. It might also depend on the amount of activity from the smbd processes.
Q-22: - Can Samba be a member of more than one workgroup at the same time?
Ans: - No, Samba can be a member of only one workgroup.
Q-23: - What is SWAT?
Ans: - SWAT is GUI Based administration tool for samba server.
Q-24: - I am trying to use SWAT, but I keep getting the message There was no response. The server could be down or not responding. What is the problem?
Ans: - The most likely cause is that SWAT is not listening to connections, or you have used the wrong URL in trying to connect to SWAT. SWAT usually lives behind port 901, so the URL you should use is http://ID_ADDRESS_OF_SERVER:901/
Q-25: - Can i set empty password for samba user?
Ans: - yes, If you want to set the value to an empty password, you must change
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
to
NOPASSWORDXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

in your smbpasswd file.
Note: - if you have edited the smbpasswd file by hand, make sure that the LAN Manager and NT password fields contain exactly 32 characters, no more and no fewer. If these fields do not have exactly 32 characters, Samba will not be able to correctly read the entry.
or You can modify by "smbpasswd" command.
smbpasswd -n USER_NAME
Also you have to set the null passwords parameter to yes in the [global] section of smb.conf:
null passwords = yes
Q-26: - Does Samba support PAM?
Ans: - Yes
Q-27: - What is role of "NTLM"?
Ans: - The challenge/response authentication protocol available to Windows clients and servers for validating connection requests.
Q-28: - Explain "force group" parameter used in smb.conf?
Ans: - It will define the group id to be used for all file access in the place of the user’s primary group.
Q-29: - Explain "force user" parameter used in smb.conf?
Ans: - It will define the user id to be used for all file access.
Q-30: - Explain "write list" parameter used in smb.conf?
Ans: - A list of users and/or groups that should be given write access even if the read only parameter has been enabled.
Q-31: - My clients are getting the error message that the Disk is Full when trying to print to my Samba server, but there is plenty of space. What is the problem?
Ans: - If smbd is unable to write the spooled file to the directory defined by the path parameter for a printer if the write permission were denied, for example it would respond to the client with the message, Disk is Full. Samba will also return this error message if the amount of free disk space in the spool directory has fallen below the value specified by the min print space parameter.
Q-32: - When I click on my Samba server in the network neighborhood, I am continually prompted for a password to the IPC$ share no matter what I enter.
Ans: - The Windows client is attempting to use encrypted passwords. However, the Samba server is configured to support only clear-text passwords. You should either enable encrypted passwords on the server or enable clear-text passwords on the Windows client.
Q-33: - Why is security = domain better than security = server?
Ans: - There are three reasons why security = domain is better. The first is because this method enables the Samba server to participate in domain trust relationships. This is impossible with server-level security. The second reason is that, under server-level security, each smbd process must keep an open connection with the authentication server. This can drain a Windows NT PDC quickly. Under domain-level security, this connection is maintained only long enough to perform the validation, thus conserving valuable resources. The final reason is that, as a domain member, the Samba server has access to much more information about user accounts, which can be used to automate the creation and deletion of user accounts upon demand.
Q-34: - what is nmbd daemon?
Ans: - This daemon handles all name registration and resolution requests. It is the primary vehicle involved in network browsing. It handles all UDP-based protocols. The nmbd daemon should be the first command started as part of the Samba startup process.
Q-35: - What is smdb daemon?
Ans: - This daemon handles all TCP/IP-based connection services for file- and print-based operations. It also manages local authentication. It should be started immediately following the startup of nmbd.
Q-36: - What is winbindd daemon?
Ans: - This daemon should be started when Samba is a member of a Windows NT4 or ADS domain. It is also needed when Samba has trust relationships with another domain. The winbindd daemon will check the smb.conf file for the presence of the idmap uid and idmap gid  parameters. If they are found, winbindd will use the values specified for UID and GID allocation. If these parameters are not specified, winbindd  will start but it will not be able to allocate UIDs or GIDs.
Q-37: - Explain the parameter "wins support = Yes" used in smb.conf?
Ans: - If the Samba server was configured to provide WINS support ("wins support = Yes"), then the WINS server is able to provide name resolution for all of the hosts that are not listed in the /etc/hosts file or within the DNS. Making this adjustment in the Name Service Switch configuration file (/etc/nsswitch.conf) allows the Linux system to query the WINS server for local name resolution. This saves manual adjustments to host files.
Q-38: - How to automate SMB share mounting during system startup?
Ans: - Add smb share entry in /etc/fstab file.
//IP_ADDRESS_OF_SERVER/Shared   /shared    smbfs    noauto,defaults  0  0
Q-39: - how to start and stop samba server?
Ans: - /etc/init.d/smb  restart
For any query please feel free to contact me my email id is sashwatkatore@gmail.com.

NFS Server Interview Questions and Answers for Linux.

Q-1: - Explain this entry /shared 192.168.1.0/255.255.255.0 (sync, rw)
Ans: - allows all systems with 192.168.1.* IP addresses read-write access to the /shared/ directory:
Q-2: - What will happened if a space is given in between allowed_hosts and (options)
Ans: - If a space is included, the options are applied to any and all IP addresses, which can be quite dangerous if write permission is granted. 
Q-3: - What is the role of "sync" option for NFS server
Ans: - If sync is specified, the server waits until the request is written to disk before responding to the client. The sync option is recommended because it follows the NFS protocol.
Q-4: - How to retrieve a list of clients connected to the NFS server ?
Ans: - To retrieve a list of clients connected to the NFS server, use the showmount command
from a shell prompt. To also show the directories the clients are connected to, use the
showmount -a command.
Q-5: - Name of Configuration file for NFS Server ?
Ans: - /etc/exports
Q-6: - What is meaning of "no_root_squash" option ?
Ans: - Treat remote root user as local root. Do not map requests from root to the anony-
mous user and group ID.
Q-7: - What is NFS ?
Ans: - NFS stands for Network File System. NFS was originally developed by Sun Microsystems in the 1980's. NFS allows remote hosts to mount file systems over a network and interact with those file systems as though they are mounted locally. 
Q-8: - Which NFS versions are available ?Ans: - 
NFS Version 2
NFS Version 3
NFS Version 4
Q-9: - What is different between NFS Version 2 & 3 ?
Ans: - nfs 2 default 8kb transfer rate,it did not check the authentication at the time connection.client wants to access unauthorized file it shows error messages like "write error","read error" nfs 3 32kb transfer rate. It check at the time connection- ACL Support
Q-10: - Can we grant access by Username and password for nfs share?
Ans: - No, access is granted only for IP address.
Q-11: - What is the role of "all_squash" option?
Ans: - Treat all client users as anonymous users. Map all user and group IDs to the anonymous user and group ID.
Q-12: - What is the role of "root_squash" option?
Ans: - All requests from the user root are translated or mapped as if they came from the user anonymous (default).
Q-13: - Explain option "all_squash"?
Ans: - The UID and GID of exported files are mapped to the user anonymous. It is good for public directories.
Q-14: - Explain "exportfs" command?
Ans: - The exportfs command is used to maintain the current table of exported file systems for NFS.
Q-15: - Explain command "/usr/sbin/exportfs -f"?
Ans: - It will flush everything out of the kernels export table. Any clients that are active will get new entries added by mountd when they make their next request.
Q-16: - Which option is used with exportfs command to display the current export list, also displays the list of export options?
Ans: - exportfs -v
Q-17: - Which option is used with exportfs command to re-export all directories?
Ans: - exportfs -r
Q-18: - How you will export directory (/data) to host 192.168.1.51, allowing asynchronous writes without adding the entry in /etc/exports file?
Ans: -  # exportfs -o async 192.168.1.51:/data
Q-19: - Is rpc.mountd daemon supports TCP_WRAPPERS?
Ans: - Yes, The rpc.mountd daemon is protected by the tcp_wrappers. You have to give the clients access to rpc.mountd if they should be allowed to use NFS Server.
Q-20: - Explain "nfsstat" command?
Ans: - The nfsstat command displays the statistics about NFS client and NFS server activity.
Q-21: - What do you understand by "nfsstat -o all -234" command?
Ans: - It will Show all information about all versions of NFS.
Q-22: - What do you understand by "nfsstat --nfs --server -3" command?
Ans: - It will show statistics for NFS version 3 server.
Q-23: - Can NFS share mounted on Window XP and Justify your answer?
Ans: - No, Window XP operating system doesn’t support nfs protocol.
Q-24: - 192.168.1.51:/data is exported by NFS Server and i want to add this NFS share to client /etc/fstab file. How you will add this entry in /etc/fstab file?
Ans: 
# device                      mount-point     fs-type     options      dump   fsckorder
192.168.1.51:/data            /mnt           nfs               rw              0         0
Q-25: - Explain "Soft Mounting" option at NFS Client?
Ans: - if a file request fails, the NFS client will report an error to the process on the client machine requesting the file access. if it cannot be satisfied (for example, the server is down), then it quits. This is called soft mounting.
Q-26: - Explain "Hard Mounting" option at NFS Client?
Ans: - If a file request fails, the NFS client will report an error to the process on the client machine requesting the file access. if it cannot be satisfied, then it will not quit until the request is satisfied. This is called Hard mounting.
Q-27: - What is "portmap"?
Ans: - The portmapper keeps a list of what services are running on what ports. This list is used by a connecting machine to see what ports it wants to talk to access certain services.
Q-28: - How you will check "portmap" service is running or not?
Ans: - rpcinfo -p
Q-29: - I am unable to mount a NFS share. How will you trace out the reason?
Ans: - Firstly, check that you have permissions to mount nfs share or not. Check /etc/exports file.
Secondly you can get RPC error: Program Not Registered (or another "RPC" error)
For this check your NFS server and portmap service running or not by "rpcinfo -p"
Q-30: - Can I modify export permissions without needing to remount clients in order to have them take effect?
Ans: - Yes. The safest thing to do is edit /etc/exports and run "exportfs -r".
For any query please feel free to contact me my email id is sashwatkatore@gmail.com.

FTP Server Interview Questions and Answers for Linux


Q-1: - How to deny specific users access to the FTP server ?

Ans: - To deny specific users access to the FTP server, add their usernames to the /etc/vsftpd/

ftpusers file. By default, system users such as root and nobody are included in this list.

Q-2: - Can we create logs for ftp authenticated sessions ?
Ans: - Yes, If the xferlog_enable directive in vsftpd.conf is set to YES, file transfers using the FTP protocol are logged to /var/log/xferlog. Information such as a time stamp, IP address of the client, the file being transferred, and the username of the person who authenticated the connection is included in the log entry.

Q-3: - What is meaning of max_clients parameter ?
Ans: - Maximum number of clients that can connect at one time.
If set to 0, the number of clients is unlimited.

Q-4: - On which port VSFTPD server works ?
Ans: - FTP uses two ports, 20 and 21. By default, the FTP server listens for requests on port 21.
After a connection is established, the client sends commands to the server on port 21.
However, port 20 is used when the server sends data back to the client.

Q-5: - How to restart VSFTPD server ?
Ans: - service vsftpd restart

Q-6: - How to allow Anonymous FTP ?
Ans: - Anonymous FTP is enabled by default by setting the anonymous_enable directive in
/etc/vsftpd/vsftpd.conf to YES.

Q-7: - What is FTP ?
Ans: - FTP stands for File Transfer Protocol. An FTP server allows clients to connect to it either
anonymously or with a username and password combination. After successful authentication, files can be transferred back and forth between the server and client. The files are neither encrypted nor compressed.

Q-8: - For Redhat Linux or Fedora which package is required for FTP service ?
Ans: - Red Hat Enterprise Linux 5 or FEDORA includes the vsftpd FTP service.
vsftpd-2.0.5-12.el5 (For Redhat)
Q-9: - Important Configuration file for vsftpd server ?


Ans: - The FTP server uses the /etc/vsftpd/vsftpd.conf configuration file. Using this file, you

can set options for displaying a custom banner message after users log in, setting the
default file permissions for uploaded files, and setting the port on which to listen for
incoming connections.
Q-10: - What is FTP ?
Ans: - FTP client connects to the FTP server by establishing an FTP control connection to port 21 of the server. Your commands such as 'ls' and 'get' are sent over this connection. Whenever the client requests data over the control connection, the server initiates data transfer connections back to the client. The source port of these data transfer connections is always port 20 on the server, and the destination port is a high port (greater than 1024) on the client.
Q-11: - What is Passive mode?
Ans: - Passive mode, like active mode, is initiated by the FTP client application. When requesting data from the server, the FTP client indicates it wants to access the data in passive mode and the server provides the IP address and a random, unprivileged port (greater than 1024) on the server. The client then connects to that port on the server to download the requested information.
Q-12: - Explain directive "session_support”?
Ans: - When enabled, vsftpd attempts to maintain login sessions for each user through Pluggable Authentication Modules (PAM).
Q-13: - Is there any way to monitor clients connected to vsftpd?
Ans: - Yes. We actually have two slightly different methods to monitor vsftpd clients. First, make sure you have enabled the config option, "setproctitle_enable=YES" like in our example above and restart your vsftpd server. Then run the command "watch ps -Cvsftpd -o user, pid, stime, cmd" to watch the processes including ip, username and actions like idle or data retrieval.
Q-14: - I want to copy multiple files with out prompting for any info, how can I do that one?
Ans: - ftp -i ftpserver
Q-15: - Local users cannot log in. How to resolve this issue?
Ans: - Check "local_enable=YES" in your /etc/vsftpd/vsftpd. conf to allow local users to log in.
Q-16: - How to change vsftpd default port?
Ans: - Set "listen_port" option in "vsftpd.conf"
Q-17: - How to restrict some IP's not use my FTP server?
Ans: - Use TCP_WRAPPERS
Q-18: - Does vsftpd support IPv6?
Ans: - Yes

For any query please feel free to contact me my email id is sashwatkatore@gmail.com.