Solved

i am creating this ftp user on two servers Solaris 8

Posted on 2009-05-15
10
380 Views
Last Modified: 2013-12-27
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
0
Comment
Question by:kaka123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 24399616
Seems that the user on England gets chrooted. Check /etc/ftpaccess.ctl for a puseronly entry for that user on England.
Wmp
0
 

Author Comment

by:kaka123
ID: 24399637
There is no such file /etc/ftpaccess.ctl
0
 

Author Comment

by:kaka123
ID: 24399658
The only file is there is /etc/ftpusers

# pwd
/etc
# more ftpusers
root
daemon
bin
sys
adm
lp
uucp
nuucp
listen
nobody
noaccess
nobody4
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 68

Expert Comment

by:woolmilkporc
ID: 24399726
/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
 
 
 
0
 

Author Comment

by:kaka123
ID: 24399757
no we are using native solaris 8
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 24399798
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
 
0
 

Author Comment

by:kaka123
ID: 24399835
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 ...
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 24400033
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?
0
 

Author Comment

by:kaka123
ID: 24538121
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
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 24538347
Glad you found it!

So I've been on the right track with my comment 24399726 above -
>> If it's a third party product, maybe it has its own config file ... <<

Cheers

wmp

0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With the withdrawal of support for Windows Server 2003 this summer, many clients face the issue of moving away from their 2003 installs. There are a few options out there that many people/companies are selling. But the clients I have, haven't wanted…
Cloud file services can fill many different roles for your business. Often, the use of cloud file services begins with employees using consumer products, like Dropbox, to share files with customers and each other. While sync-and-share can be an effe…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question