Link to home
Start Free TrialLog in
Avatar of kaka123
kaka123

asked on

i am creating this ftp user on two servers Solaris 8

But i am getting this i have created user xyz on server England  and i have created xyz ftpuser on server japan and they are different ..I need this to be the same when i logged into England and do the pwd it show me / only ..
when i logged into Japan as the same user and do pwd i see the full path where i am ..How can i fix this problem on England so when i ftp to that server it will show me the full path when i type pwd .
The home directory permession is as follow drwxrwsr-x   for the both the users
thanks
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Seems that the user on England gets chrooted. Check /etc/ftpaccess.ctl for a puseronly entry for that user on England.
Wmp
Avatar of kaka123
kaka123

ASKER

There is no such file /etc/ftpaccess.ctl
Avatar of kaka123

ASKER

The only file is there is /etc/ftpusers

# pwd
/etc
# more ftpusers
root
daemon
bin
sys
adm
lp
uucp
nuucp
listen
nobody
noaccess
nobody4
/etc/ftpusers contains users who are forbidden to use ftp at all.
Which FTP server do you use? If it'sa third party product, maybe it has its own config file?
What if you login directly (telnet or ssh or the like)? Do you see the same effect?
wmp
 
 
 
Avatar of kaka123

ASKER

no we are using native solaris 8
What do you see on England when you issue 'ls' or 'dir'? The contents of the real root (/) or the contents of the user's home?
If it's the user's home, there is no other possibility - the user gets chrooted somehow.
If it's indeed '/' - double-check the user's homedir setting!
wmp
 
Avatar of kaka123

ASKER

yes it does get chrooted my question is how can i fix that ..on the other server evrything is the same how can i fix that so both servers are the same ...
Is there a dot (.) somewhere in the home directory path specification in /etc/passwd of the affected user?
Again - do you see the contents of the user's home with 'ls', or something else?
Avatar of kaka123

ASKER

it turns out that we are using the ncftpd and the information in the ncftpd.conf file need to be edited .thanks all for your reply
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial