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 solarislab FTP server ready.
Name (10.30.21.33:solarisuser): mdn
331 Password required for mdn.
Password:
230 User mdn logged in. Access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257 "/" is current directory.
Note that now you will see “/” as your current directory instead of /export/home/mdn.
#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 solarislab FTP server ready.
Name (10.30.21.33:solarisuser): mdn
331 Password required for mdn.
Password:
230 User mdn logged in. Access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257 "/" is current directory.
Note that now you will see “/” as your current directory instead of /export/home/mdn.
Nice article , thanks for sharing , very informative and presented nice , keep updating morered hat linux administration training in chennai|red hat training in chennai|RHCE training in chennai|red hat training center in chennai|red hat training partner in chennai|red hat linux certification training in chennai
ReplyDeleteExcellent website, excellent post as well!
ReplyDeleteI genuinely love how it is simple on my eyes and the data
are well written.I’m wondering how I could be notified if a new post has been made.
I’ve subscribed to your RSS which should do the trick! maket pasta | söve fiyatları | strafor pasta altlığı | beze kulesi | strafor nedir |maket pasta strafor fiyatları | strafor objeler | strafor | strafor top | strafor sahne dekorları | pasta altlığı |
Andhra Pradesh Engineering Agricultural and Medical Common Entrance Test AP EAMCET is a state level entrance examination conducted in the state of Andhra Pradesh for the selection of candidates into Engineering and Medicine and Agriculture courses. It is conducted by Jawaharlal Nehru technical Institute.
ReplyDelete