The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 06:24 AM
Lost root password / Can't login as root Perderabo Answers to Frequently Asked Questions 0 06-22-2004 07:40 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-23-2008
sawrio sawrio is offline
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,
  #2 (permalink)  
Old 07-23-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

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

Join Date: Sep 2007
Location: Germany
Posts: 2,259
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.
  #4 (permalink)  
Old 07-23-2008
sawrio sawrio is offline
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
  #5 (permalink)  
Old 07-24-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,259
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
  #6 (permalink)  
Old 07-25-2008
jhtrice's Avatar
jhtrice jhtrice is offline
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.
  #7 (permalink)  
Old 07-28-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,259
@jhtrice
As is said
Quote:
for example open up a connection to the ftp server, then check
Sponsored Links
Closed Thread

Bookmarks

Tags
ftp, password, telnet

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:28 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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