This post is more than 5 years old
1 Rookie
•
22 Posts
0
2282
August 25th, 2009 07:00
FTP access for local user
Hello there.
What am i doing wrong. We have a ns20 with server_2 as active and server_3 a fallback
I have add a local user to the datamover with the server_user command on server_2
But when i try to connect to the ftp my logon is deny.
Anonymous acces is working good but not a specific user
The local user that i have created use as homedirectory a nfs export so i have give this has homedir
/fs_userdir/f731.
Must i create the user also for server_3 ? i haven't do this to activated the anonymous account ftp
that is the result of the command list
./server_user server_2 -list
server_2:
CK2000735005300000_CK2000735005290000:opN.aw6XFIuZQ:9000:9000:iORtjKeesfarBhrpsslap4auCL::ndmp_md5
CK2000735005290000_CK2000735005290000:AAct5aHVFLDTk:9000:9000:1IPnbJresulC9aRucTolymAUpR::ndmp_md5
ftp::501:501:Anonymous FTP USER:/fs_repo:
f731:!!:1731:501:Sterck Serge:/fs_userdir/f731:/sbin/bash
so uid of f731 is 1731 and gid is 501 and i'm trying to connect to celera with this user
that is the result of the fs_mount | grep fs_userdir
fs_userdir on /fs_userdir uxfs,perm,rw
under fs_userdir i have a directory f731
Must i restart the ftp service ? how to do this ?
What am i doing wrong. We have a ns20 with server_2 as active and server_3 a fallback
I have add a local user to the datamover with the server_user command on server_2
But when i try to connect to the ftp my logon is deny.
Anonymous acces is working good but not a specific user
The local user that i have created use as homedirectory a nfs export so i have give this has homedir
/fs_userdir/f731.
Must i create the user also for server_3 ? i haven't do this to activated the anonymous account ftp
that is the result of the command list
./server_user server_2 -list
server_2:
CK2000735005300000_CK2000735005290000:opN.aw6XFIuZQ:9000:9000:iORtjKeesfarBhrpsslap4auCL::ndmp_md5
CK2000735005290000_CK2000735005290000:AAct5aHVFLDTk:9000:9000:1IPnbJresulC9aRucTolymAUpR::ndmp_md5
ftp::501:501:Anonymous FTP USER:/fs_repo:
f731:!!:1731:501:Sterck Serge:/fs_userdir/f731:/sbin/bash
so uid of f731 is 1731 and gid is 501 and i'm trying to connect to celera with this user
that is the result of the fs_mount | grep fs_userdir
fs_userdir on /fs_userdir uxfs,perm,rw
under fs_userdir i have a directory f731
Must i restart the ftp service ? how to do this ?
0 events found
No Events found!


Rainer_EMC
6 Operator
•
8.6K Posts
0
August 25th, 2009 10:00
I would try resetting the password using server_user
Rainer_EMC
6 Operator
•
8.6K Posts
0
August 25th, 2009 09:00
no need to create accounts on a standby data mover - it doesnt have a config and will use the password file of the primary one after a failover.
no need to restart ftp either - it should just work
what exactly does ftp say - something like that ?
550 Can't change to home directory.
Login failed.
that most likely means that either the homedir path is incorrect or the permission on that path dont allow the user to enter it
Rainer
serge_sterck
1 Rookie
•
22 Posts
0
August 25th, 2009 10:00
Connected to 172.16.252.14 (172.16.252.14).
220 server_2 FTP server (EMC-SNAS: 5.5.37.200) ready.
Name (172.16.252.14:f731): f731
331 Password required for f731.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
here is the mount nfs to show the right for the user f731
celera01:/fs_userdir on /mnt/celera01/fs_userdir type nfs (rw,addr=172.16.252.14)
pwd
/mnt/celera01/fs_userdir/f731
[root@xlnx08 f731]# ls -lah
total 48M
drwxrwxrwx 10 1731 501 2,0K jui 27 17:17 .
drwxr-xr-x 493 root root 17K aoû 25 13:20 ..
-rwxr-xr-x 1 1731 501 3,8K jan 28 2004 cfg_50.txt
-rw-r--r-- 1 1731 501 1,3K mai 22 2006 cfg50.zip
drwxrwxrwx 4 1731 501 1,0K jun 21 2005 client
drwxr-xr-x 4 1731 501 1,0K nov 28 2005 dev_toolkit
drwxr-xr-x 3 1731 501 1,0K mai 9 17:20 doc
drwxr-xr-x 10 1731 501 1,0K déc 12 2005 eIDSource_2_3_13
-rw-rw-rw- 1 1731 501 574K jui 24 2007 G721.derni?re version.doc
-rw-rw-rw- 1 1731 501 48K déc 12 2005 Gezondheid & Welzijn - MEDISHOP.net - brieven lastenboek.doc
-rw-r--r-- 1 1731 501 26M fév 3 2001 help7admin.pdf
drwxr-xr-x 6 1731 501 1,0K nov 28 2005 ifd-gempc-1.0.0
-rw-r--r-- 1 1731 501 53K jun 14 2004 INF41053.PPD
-rw-r--r-- 1 1731 501 14M fév 3 2001 install.pdf
drwx------ 2 1731 501 1,0K mar 21 2008 lmpcm_usb-0.5.6
drwxrwxrwx 6 1731 501 1,0K mai 28 10:27 pdf
-rw-rw-rw- 1 1731 501 293 déc 12 2006 planning.txt
-rw-rw-rw- 1 1731 501 247 déc 12 2006 planning.txt~
-rwxrwx--- 1 1731 501 12 jui 27 17:08 ?t?.txt
-rw-r--r-- 1 1731 501 6,5M fév 3 2001 v7_admin_upgrade.pdf
drwxr-xr-x 6 1731 501 1,0K déc 3 2008 workspace
-rw-rw-rw- 1 1731 501 0 jui 27 17:17 xx
serge_sterck
1 Rookie
•
22 Posts
0
August 28th, 2009 05:00
Rainer_EMC
6 Operator
•
8.6K Posts
0
August 28th, 2009 12:00
there isnt much that can go wrong with ftp