Skip to main content

Posts

Showing posts from October, 2016

Solaris 10 Configure ftp path / instead of full path

1: Create a user which you want to use for the ftp , Name of the user can be anything except "ftp"  #useradd -d /export/home/mdn -m -s /bin/bash mdn #passwd mdn Enter the new password twice . 2: Run the "ftpconfig -d" command , on the home directory of newly created user.  # ftpconfig –d /export/home/mdn this updates the existing directory with the info needed to make the account restricted. After this you can see some extra directories in /export/home/mdn e.g bin, dev, lib e.t.c  3: Add the user to the /etc/ftpd/ftpaccess file. There is an existing commented entry  # guestuser username that can be uncommented and edited  guestuser mdn 4: This entry should a already exist in   in /etc/ftpd/ftpaccess  class guestusers guest * 5: Run the command  # in.ftpd -a  to allow the use of ftpaccess file  6. Restart ftp service # svcadm restart network/ftp now when user "mdn" ftps to this server ftp 172.27.129.213 Connected to  172.27.129.213 .  220 solarisla