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 Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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-09-2007 02:34 AM
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 03:21 PM
telnet & ftp in linux AS4 with root account bong02 Red Hat 3 07-20-2006 08:53 AM
how to access root priveliges if root password is lost wojtyla Linux 1 02-18-2005 05:24 AM
Lost root password / Can't login as root Perderabo Answers to Frequently Asked Questions 0 06-22-2004 07:40 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
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
Sponsored Links
  #2 (permalink)  
Old 07-23-2008
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,042
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 (permalink)  
Old 07-23-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 1,681
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 (permalink)  
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 (permalink)  
Old 07-24-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 1,681
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 (permalink)  
Old 07-25-2008
jhtrice's Avatar
Registered User
 

Join Date: Jun 2008
Posts: 69
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 (permalink)  
Old 07-28-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 1,681
@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

Bookmarks

Tags
ftp, password, telnet

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:




All times are GMT -4. The time now is 11:21 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66