The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to Enable TELNET for root user sakthi_13 Linux 3 09-08-2007 11:34 PM
I need it to prompt me for a root password, so I don't have to log as root lunchtime UNIX for Dummies Questions & Answers 2 06-25-2007 12:21 PM
telnet & ftp in linux AS4 with root account bong02 Linux 3 07-20-2006 05:53 AM
how to access root priveliges if root password is lost wojtyla Linux 1 02-18-2005 03:24 AM
Lost root password / Can't login as root Perderabo Answers to Frequently Asked Questions 0 06-22-2004 04:40 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-23-2008
Registered User
 

Join Date: Jul 2008
Posts: 4
Exclamation Different root password between ftp and telnet

Hello All,
I hope somebody can help me

I used to work to client using solaris 2.5.1 using telnet to explore disk and ftp to archive data.

There is one tester which I can connect using root password using putty but always keep rejecting me when i'm using root password using FTP.

Are the root password can be different between the telnet and the ftp ?
If so how can I change the root password for the ftp ??
Does it possible to have double root password for one account ???
Double password on root ????

Distinctly frustrated
Thanks All,
Reply With Quote
Forum Sponsor
  #2  
Old 07-23-2008
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
The root password should only work for the root account. A user will be rejected from ftp for reasons other than wrong password. The user could be in the ftpusers file. Or the user could have an odd shell not listed in the shells file.
Reply With Quote
  #3  
Old 07-23-2008
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 1,031
Depending on what kind of ftp server is used, root can be forbidden in it's config file.
iirc wu-ftpd or proftpd (for example) have such directives in their config which is often turned on per default.
Reply With Quote
  #4  
Old 07-23-2008
Registered User
 

Join Date: Jul 2008
Posts: 4
Quote:
Originally Posted by zaxxon View Post
Depending on what kind of ftp server is used, root can be forbidden in it's config file.
iirc wu-ftpd or proftpd (for example) have such directives in their config which is often turned on per default.
How could I able to find the ftp server that been used, and how can I manage the service.
For additional info when I used user level password work well both in telnet and ftp, but I unable to extrack data with root level permition
Reply With Quote
  #5  
Old 07-23-2008
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 1,031
1st, as Perderabo said, check the /etc/ftpusers (if it exists) and if there is root listed inside. If yes, comment it out with a hash (#) and try again.

I have no Solaris box so I guess Solaris uses rpm as package manager - I don't know if there is additionally a native package manager in it, so query this one instead.
RPM: For checking what kind of ftpd this is, you can checkout where the binary of the ftpd is, for example open up a connection to the ftp server, then check on the server with
Code:
ps -ef| grep ftp
# see that it is a ftpd hopefully, which is the daemon/server
rpm -qf <absolute path to that ftpd binary>
You can also check for packages installed with the name ftp in it and see which is the client and which the server
Code:
rpm -qa| grep ftp
Reply With Quote
  #6  
Old 07-25-2008
jhtrice's Avatar
Registered User
 

Join Date: Jun 2008
Posts: 63
Under solaris the command would be
pkginfo | grep ftp
ps -ef isn't going to show anything for a normal install unless someone is connected. Under that old version of Solaris I think ftp was still set up in /etc/inetd.conf. look for /usr/sbin/in.ftpd or something like that.

My best guess is root is in /etc/ftpd/ftpusers since that is the default.
Reply With Quote
  #7  
Old 07-27-2008
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 1,031
@jhtrice
As is said
Quote:
for example open up a connection to the ftp server, then check
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
ftp, password, telnet

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 01:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0