Different root password between ftp and telnet


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Different root password between ftp and telnet
# 1  
Old 07-23-2008
Error 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 Smilie Smilie Smilie
Thanks All,
# 2  
Old 07-23-2008
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  
Old 07-23-2008
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  
Old 07-23-2008
Quote:
Originally Posted by zaxxon
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  
Old 07-24-2008
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  
Old 07-25-2008
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  
Old 07-28-2008
@jhtrice
As is said
Quote:
for example open up a connection to the ftp server, then check
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Can a root role change the root password in Solaris 10?

i do not have root on a solairs 10 server , however i do have the root role, i was wondering if I can change the root password as a a role with the passwd command? I have not tried yet. and do i have to use the # chgkey -p afterwards? i need to patch is why i am asking. thanks (1 Reply)
Discussion started by: goya
1 Replies

2. Ubuntu

Root access that can't change root password?

We are having a little problem on a server. We want that some users should be able to do e.g. sudo and become root, but with the restriction that the user can't change root password. That is, a guarantee that we still can login to that server and become root no matter of what the other users will... (2 Replies)
Discussion started by: 244an
2 Replies

3. Solaris

Lost Root Password on VXVM Encapsulated Root Disk

Hi All Hope it's okay to post on this sub-forum, couldn't find a better place I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
Discussion started by: sunnyd76
1 Replies

4. Solaris

Solaris 8 - Asks for current root password when trying to change root password.

Hello All, I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies

5. Shell Programming and Scripting

how to change root password using shell script with standard password

Hi Friends. I am new to scripting now i want to change the root password using the script with standard password. which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies

6. Linux

How to Enable TELNET for root user

How to Enable TELNET for root user in Linux. (3 Replies)
Discussion started by: sakthi_13
3 Replies

7. UNIX for Dummies Questions & Answers

I need it to prompt me for a root password, so I don't have to log as root

Hi folks, I'm trying to install a program, and I want to place some of the executables into /usr/bin so that they can be executed from any folder on the computer. I've been giveng the root password, but told never to log in directly as root. Instead, I can wait for a password prompt. However, I... (2 Replies)
Discussion started by: lunchtime
2 Replies

8. Red Hat

telnet & ftp in linux AS4 with root account

hi, i installed linux as4, i need telnet and ftp with root account. anybody show me how to configure. TIA, Bong (3 Replies)
Discussion started by: bong02
3 Replies

9. Linux

how to access root priveliges if root password is lost

wish to know how to access root password it root password is forgotten in linux (1 Reply)
Discussion started by: wojtyla
1 Replies

10. Answers to Frequently Asked Questions

Lost root password / Can't login as root

We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
Discussion started by: Perderabo
0 Replies
Login or Register to Ask a Question