Finding Password


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Finding Password
# 1  
Old 07-08-2008
Finding Password

I have the SU id/password. What I'm looking for is a ftp login password. I know the ftp login name, is there a way I can find the password for this. This is for testing purposes. I dont want to reset the password as this ftp id is currently being run in production scripts. TIA.
# 2  
Old 07-08-2008
>I have the SU id/password. # of who?
If you were root you woulnd need to enter the ftp users passwd...
And if your system admin doesnt agree on giving you root access, you may have to negociate with him the usage of sudo which will allow (once the sysadm configured the config file..) you to with sudo, su the ftp account without passwd...
# 3  
Old 07-08-2008
Thanks, Yes I have the root id/password. I can su to the ftp id as well. What I wanted to do was get the ftp id's password to give that info to a tester. Not sure how to retrieve the password for the id, as I didnt create it and was given to another area who's server may contain the scripts with the ftp id/password but i want to avoid the hassle of asking them for all that info etc...
# 4  
Old 07-08-2008
So cant get the passwd... unless you find it in a file...
Your only alternative is to configure/install sudo and let that user the use of su fpt without passwd... (you would have to confugure that in the sudoers file by using the command visudo...(thats how I work myself like that if someone forces me to enter as root he can look - will not see me enter root passwd...)
# 5  
Old 07-08-2008
The purpose of the test is for them to use the id and password.

I'm actually on the sending server, which isnt ours Smilie and looking for the script that ftps to our server. I have the id and password because we ftp stuff to them as well. Not sure I'm gonna find the id and password but this might be a good time to use the find command Smilie
# 6  
Old 07-08-2008
Other than finding it in a file the only other possibility is to crack it using john or a program like that. If the password is good it should take forever to crack it but it has been my experience that 50% of shared ftp passwords are pretty easy to crack.
# 7  
Old 07-09-2008
there is a way to connect ftp without being asked your passwd:
It is by using a .netrc file found in the $HOME directory of the ftp user...
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Forum Support Area for Unregistered Users & Account Problems

Password sent via reset password email is 'weak' and won't allow me to change my password

I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login. Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies

2. Shell Programming and Scripting

SFTP prompting for password even though password is in script

Hi All, I am trying to transfer a file from one server to a remote server using SFTP. Client is not ready for key setup. I am working on Solaris 10. Here is the code. #!/bin/ksh # sample automatic Sftp script to dump a file USER="user1" PASSWORD="pass1" HOST="host1" sftp $USER@$HOST... (6 Replies)
Discussion started by: megha2525
6 Replies

3. UNIX for Dummies Questions & Answers

password protect a CSV file: better solution than ZIP password?

Hi We send *.csv with sensitive data to our customers. Our customers open those files with Excel. A new requirement is that we password protect those CSV files. I thought to pack them with ZIP and assign a password to the archive. But Solaris 10 can't encrypt ZIP files. $ zip -P... (12 Replies)
Discussion started by: slashdotweenie
12 Replies

4. OS X (Apple)

OSX asks password but i don't use a password!!

When i try to install some software OSX asks for a password but i don't use a password at all. Somebody knows a answer please??? asta (4 Replies)
Discussion started by: astapopulos
4 Replies

5. Solaris

SSH Password-less login fails on password expiry.

Hi Gurus I have a few Sol 5.9 servers and i have enabled password less authentication between them for my user ID. Often i have found that when my password has expired,the login fails. Resetting my password reenables the keys. Do i need to do something to avoid this scenario or is this... (2 Replies)
Discussion started by: Renjesh
2 Replies

6. 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

7. UNIX for Advanced & Expert Users

password verification verify password of a user for only first 8 characters

Helo , I m using linux pam library for user and its password authentication. I m creating new user and giving its password.I m giving password of 10 characters.now when I login in as that newly created user its ask me $ su - ram Password: You are required to change your password immediately... (12 Replies)
Discussion started by: amitpansuria
12 Replies

8. Shell Programming and Scripting

finding duplicate files by size and finding pattern matching and its count

Hi, I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern. Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies

9. UNIX for Dummies Questions & Answers

Change password by pushing encrypted password to systems

I'm tasked to change a user's password on multiple Linux systems (RH v3). I though copying the encrypted password from one Linux /etc/shadow file to another would work but I was wrong. The long term solution is to establish an openLDAP Directory service, but for now I'm stuck with a manual... (1 Reply)
Discussion started by: benq70
1 Replies
Login or Register to Ask a Question