05-13-2011
Thanks for your prompt reply.
We are using the following code only before it's running fine.Now the password has been expired so that we are getting the error .
Login incorrect.
Login failed.
open arg.mnd.appsc.com
put file1.txt
quit
This is running automatically.That time it's not asking for user name and password.
If we run this open arg.mnd.appsc.com step manually it's prompting for user name and password.
Please help me.
Thanks in advance
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I am a beginner to unix and ftp too.So i request your valuable comments.
Requirement:
I want to put a specific file into a server(linux) and under a particular directory path in that server as /caps/details/data/
Problem :
I login to that server through the command `ftp... (1 Reply)
Discussion started by: DILEEP410
1 Replies
2. AIX
Hi,
I have created the below ftp script to put files over to our capacity server, the check at the end works if ftp fails to run however if the script cannot login or the transfer itself failed there is no warnings.
Does anyone know the syntax to trap the erorr codes or to put a check within... (3 Replies)
Discussion started by: chlawren
3 Replies
3. UNIX for Advanced & Expert Users
Hi All,
Please check the below ftp related job, which is deleting the files from remote host. Problem is it is not capturing the ftp failure error, and the exit status is still '0' eventhough the deletable files are not present in remote location OR ftp credential are incorrect.
... (5 Replies)
Discussion started by: ganapati
5 Replies
4. AIX
Hi,
While I am trying SFTP my machine to another unix machine ,
it was working fine till 10 min back.
But now i am getting the below error
"Request for subsystem 'sftp' failed on channel 0"
Could you please someone help me to solve or analyise the root cause...
Cheers:b:,
Mahiban (0 Replies)
Discussion started by: mahiban
0 Replies
5. Solaris
Hi guys, Can you please help me.
I have SUN V100 server running solaris 8.
I also have a Redhat Linux 6.2 machine and a windows XP machine on the network.
I'm trying to copy files from the Linux and XP machines to the V100 server.
When I try to ftp to the solaris machine, I'm challenged... (2 Replies)
Discussion started by: Stin
2 Replies
6. Shell Programming and Scripting
I have automated ftp for different scripts. every script uses different login and passwords for different server. it reads the username and password from netrc.
there is 1 particular script that is failing. this script is failing in FTP step. i have checked the logs it says login failed. but... (5 Replies)
Discussion started by: dazdseg
5 Replies
7. UNIX for Dummies Questions & Answers
I've just installed vsftpd on Ubuntu 9.04 server.
I can access using my ftp client, however I cannot use mkdir either upload files.
I get the following errors: `Error -140: remote mkdir failed`
My configuration file has:
write_enable = YES
Is there some other parameter I should... (2 Replies)
Discussion started by: aneuryzma
2 Replies
8. AIX
Hi All,
Any idea on how to write a script on AIX 5.3 to monitor ftp or sftp login failed.
Thanks and more power,
Itik (2 Replies)
Discussion started by: itik
2 Replies
9. UNIX for Advanced & Expert Users
I am using below scripts to copy all the files from multiple folders. By executing individually command i am able to copy all the files but using scripts only getting first file. System is ignoring the second CD and mget command.
HOST=server.com
USER=loginid
PASSWD="abc"
echo "open $HOST... (6 Replies)
Discussion started by: meetvipin
6 Replies
10. Solaris
Hi Guys,
I need to check why FTP service on Solaris 10 machine did not work in between.
What does Jun-29 means here? Does it mean that it has been RUNNING/UP since Jun 29th ?
-bash-3.2$ sudo /usr/bin/svcs |grep -i ftp
legacy_run Jun_29 lrc:/etc/rc3_d/S90proftpd
online ... (3 Replies)
Discussion started by: manalisharmabe
3 Replies
LOGIN(1) General Commands Manual LOGIN(1)
NAME
login - sign on
SYNOPSIS
login [ -p ] [ username ]
DESCRIPTION
The login command is used when a user initially signs on, or it may be used at any time to change from one user to another. The latter
case is the one summarized above and described here. See "How to Get Started" for how to dial up initially.
If login is invoked without an argument, it asks for a user name, and, if appropriate, a password. Echoing is turned off (if possible)
during the typing of the password, so it will not appear on the written record of the session.
After a successful login, accounting files are updated and the user is informed of the existence of mail. The message of the day is
printed, as is the time of his last login. Both are suppressed if he has a ".hushlogin" file in his home directory; this is mostly used to
make life easier for non-human users, such as uucp.
Login initializes the user and group IDs and the working directory, then executes a command interpreter (usually csh(1)) according to spec-
ifications found in a password file. Argument 0 of the command interpreter is the name of the command interpreter with a leading dash
("-").
Login also modifies the environment environ(7) with information specifying home directory, command interpreter, terminal type (if avail-
able) and user name. The `-p' argument causes the remainder of the environment to be preserved, otherwise any previous environment is dis-
carded.
If the file /etc/nologin exists, login prints its contents on the user's terminal and exits. This is used by shutdown(8) to stop users log-
ging in when the system is about to go down.
Login is recognized by sh(1) and csh(1) and executed directly (without forking).
FILES
/var/run/utmp accounting
/usr/adm/wtmp accounting
/usr/spool/mail/* mail
/etc/motd message-of-the-day
/etc/passwd password file
/etc/nologin stops logins
.hushlogin makes login quieter
SEE ALSO
init(8), getty(8), mail(1), passwd(1), passwd(5), environ(7), shutdown(8), rlogin(1c)
DIAGNOSTICS
"Login incorrect," if the name or the password is bad.
"No Shell", "cannot open password file", "no directory": consult a programming counselor.
BUGS
An undocumented option, -r is used by the remote login server, rlogind(8C) to force login to enter into an initial connection protocol. -h
is used by telnetd(8C) and other servers to list the host from which the connection was received.
4th Berkeley Distribution November 27, 1996 LOGIN(1)