10-19-2007
You can use ftppwd command This command helps for getting the password from the server.
Usually It is not good practice to hardcode password in the script.
You can explore the ways of using ftppwd command.
Thanks,
Swatantra
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a set of scripts to do software releases to remote machines which uses ftp. I'm having a problem getting 'lost connection' messages.
What I wanted to ask is, does ftp employ some sort of file locking if two ftp processes are trying to copy the same file at the same time? & if so could... (2 Replies)
Discussion started by: Kevin Pryke
2 Replies
2. UNIX for Dummies Questions & Answers
How can I change the password from an ftp user account on a ssh server?
Please give me simple instructions for a users who hasn't a lot of experience.
:D
Just the words in form of a list thanks a lot. (1 Reply)
Discussion started by: m.seidenberg
1 Replies
3. Solaris
does anyone know in solaris 10, can you lock an account if the user does not change their password within a certain amount of time?
What i want to do is, if a user doesnt change their password within 90 days, i want the account locked.
This is similar to the redhat linux passwd -i command.
... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
4. Solaris
Hello Gurus,
I desperately need help to replicate the functionality that I had with Solaris 8 and SEAM into Solaris 10.
Our application needs a few users which are created with the application install. One of our customer requires Kerberos as single sign-on because of their IT department... (0 Replies)
Discussion started by: rmaavnii
0 Replies
5. HP-UX
Hi,
I have an ftp account which is used for transferring files to a UNIX box.
eventhough the permissions on the source box for the files are 777, when it reaches the destination node via this ftp transfer the permissions is getting changed to -rw-r-----
can someone please help me?
umask... (3 Replies)
Discussion started by: vivek_damodaran
3 Replies
6. UNIX for Dummies Questions & Answers
1) How do you set up an FTP user account on a Solaris Unix box? Please show the steps (assuming I have root account access).
2) Where are the FTP user account information stored? For example: Unix user accouns are stored on /etc/passwd what about ftp user account where are they stored?
Thanks... (3 Replies)
Discussion started by: XZOR
3 Replies
7. Shell Programming and Scripting
Hey guys just wondering how i could lock a specific acount by prepending LK
to the password field in the /etc/shadow file.
it cannot be done through a command since the script gets called by a menu driven interface so i cant use "passwd". Is there a way where i can search for a specific account... (11 Replies)
Discussion started by: musicmancanora
11 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am new to the workd of FTP administration. I was asked to make an account on our FTP server so that someone can only download and upload to his home directory. The account is made but what settings/cconfiguration can I verify to ensure that the user has access to his home directory only?... (1 Reply)
Discussion started by: mojoman
1 Replies
9. Linux
Hi Techs,
Please guide me the answer with the explanation.
Q1) What is the uid of an individual account which can access ftp/http?
Thanks in advance to all. (3 Replies)
Discussion started by: ajazshariff
3 Replies
10. Solaris
There is a account - ohsuser on Solaris-10 zone. It is getting locked every 2-3 minutes. Can I know, what is process or script, which is using this account and locking it ?
root@tswsd23-prdt01:/root# cat /var/adm/messages | tail -10
Sep 24 11:05:53 tswsd23-prdt01 nmo: Excessive (3) login... (5 Replies)
Discussion started by: solaris_1977
5 Replies
LEARN ABOUT OSF1
yppasswd
yppasswd(1) General Commands Manual yppasswd(1)
NAME
yppasswd - change password in Network Information Service (NIS)
SYNOPSIS
yppasswd [name]
DESCRIPTION
Note
If Enhanced Security is enabled on your system, use the passwd command to change your password, even if NIS is in use.
The yppasswd command lets you change your password in the Network Information Service (NIS) map, a network data base service. Only you or
the superuser can change your NIS password.
When you enter the yppasswd command, the program prompts you for the old password and then for the new password. Note that the passwords
are not displayed on the screen.
Next, the program asks you for the new password again, to verify that you have typed it correctly. If you do not type the passwords cor-
rectly, you will receive an error message after you enter the new password.
Your new NIS password must meet one of the following requirements: It must be a combination of at least six alphanumeric characters, or It
must be a minimum of four characters, with at least one being non-alphanumeric, such as a control sequence.
Note
The passwd command does not change the NIS password. This command only changes the local password file (/etc/passwd), and not the NIS mas-
ter password file.
ERRORS
Your new password does not meet the minimum length requirement. You misspelled your new password or its verification. Your new password
can not be activated. It must be different from your old password and your login name.
FILES
Password file NIS directory
SEE ALSO
passwd(1), passwd(4), ypfiles(4), yppasswdd(8)
Network Administration
yppasswd(1)