Sponsored Content
Full Discussion: Error in execting ftp script
Top Forums UNIX for Dummies Questions & Answers Error in execting ftp script Post 69286 by jhmr7 on Wednesday 13th of April 2005 05:11:24 PM
Old 04-13-2005
which option i should include in order to log all the ftp activities in a log file.

TIA.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP shell script error caturing

Hello All, Can anyone let me know how to capure errors in shell scripting? n even the error considerations? Like -- - File not found what other errors can occure in that n how those could be captured? Im_new (6 Replies)
Discussion started by: im_new
6 Replies

2. Shell Programming and Scripting

FTP script error

Hi all, I am trying to run a FTP script which would go to diff servers in the environment and get the request logs and I am getting the following error, Please let me know. server1.ou.st.com (to) usage: open host-name Not connected. Local directory now /home/pk960/logs Not connected.... (0 Replies)
Discussion started by: crosairs
0 Replies

3. Shell Programming and Scripting

Does not exist or unreadable error in windows ftp script

I have a file like this 07200900.SUP,in a windows directory I need to FTP this file to UNIX , the directory in unix is N:\orgs\Financial Aid\MIIS\0910\FTP I am getting this error miis_ftp.ELM_SUP.shl: =cd orgs/"Financial Aid"/"MIIS"/"0910"/"FTP" : not found IN THE LOG FILE Activities for Mon... (3 Replies)
Discussion started by: rechever
3 Replies

4. Shell Programming and Scripting

FTP script error

This question has been answered many times. I tried to use some examples. Here is the error and cannot find the reason. Please help! messages : 40 step1 step2 arcfile1.sh: line 55: syntax error: unexpected end of file :( here is the script: #!/bin/bash DATE=`date +%Y%m%d`... (21 Replies)
Discussion started by: Lenora2009
21 Replies

5. Shell Programming and Scripting

FTP script error in BASH

Hi All, I have a script which is supposed to connect to Windows machine and FTP a file into LINUX. Script is like below #!/usr/bin/sh ParamterFle=${1} //grepping all parameters BossFtpLog=${2} // assigning log file ftp -i -n host_name << EOF user1 password1 cd /drive1/drive2 get... (6 Replies)
Discussion started by: Raamc
6 Replies

6. Shell Programming and Scripting

end of file error bash ftp script

Hello kind programmers :) I am a newbie and running into an error "line 28: syntax error: unexpected end of file" on the script shown below. Any help would be greatly appreciated. Thanks! #! /bin/bash if ($#argv <3) then echo 'Usage get_modis_snow ' echo 'ftp script for MYD10A2... (2 Replies)
Discussion started by: cmshreve
2 Replies

7. AIX

FTP Script error - AIX

Hi, I'm trying to create a ftp script so I can make an ftp connection and start upload and download files from/to remote servers. In this case I want to start a connection (crontab) and transfer files from localserver1 to remoteserver; remoteserver to localserver1; finally from localserver1... (3 Replies)
Discussion started by: marques_rmc
3 Replies

8. Shell Programming and Scripting

ftp script error

Hi , I was writing a bash script of ftp to transfer the files , rite now I am considering my local server as ftp server and through keygen -ssh I ahve generated the public & private keys , the private key I have kept in the folder named scripts where my all scripts resides and the public key... (6 Replies)
Discussion started by: rahul125
6 Replies

9. Shell Programming and Scripting

Help with FTP Script which is causing "syntax error: unexpected end of file" Error

Hi All, Please hav a look at the below peice of script and let me know if there are any syntax errors. i found that the below peice of Script is causing issue. when i use SFTP its working fine, but there is a demand to use FTP only. please find below code and explain if anything is wrong... (1 Reply)
Discussion started by: mahi_mayu069
1 Replies

10. Shell Programming and Scripting

Script FTP maintain error handling

Hi, I have ftp script like below How to insert an error handling, If the transfer failed then send mail to me. Actually, I just need the script to send an email if the FTP failed. How to put the email script within FTP script? Thank You Edy (5 Replies)
Discussion started by: edydsuranta
5 Replies
CREATE 
USER(7) SQL Commands CREATE USER(7) NAME
CREATE USER - define a new database user account SYNOPSIS
CREATE USER username [ [ WITH ] option [ ... ] ] where option can be: SYSID uid | [ ENCRYPTED | UNENCRYPTED ] PASSWORD 'password' | CREATEDB | NOCREATEDB | CREATEUSER | NOCREATEUSER | IN GROUP groupname [, ...] | VALID UNTIL 'abstime' DESCRIPTION
CREATE USER will add a new user to an instance of PostgreSQL. Refer to the Administrator's Guide for information about managing users and authentication. You must be a database superuser to use this command. PARAMETERS username The name of the user. uid The SYSID clause can be used to choose the PostgreSQL user ID of the user that is being created. It is not at all necessary that those match the Unix user IDs, but some people choose to keep the numbers the same. If this is not specified, the highest assigned user ID plus one (with a minimum of 100) will be used as default. password Sets the user's password. If you do not plan to use password authentication you can omit this option, but the user won't be able to connect to a password-authenticated server. The password can be set or changed later, using ALTER USER [alter_user(7)]. ENCRYPTED UNENCRYPTED These keywords control whether the password is stored encrypted in pg_shadow. (If neither is specified, the default behavior is determined by the PASSWORD_ENCRYPTION server parameter.) If the presented string is already in MD5-encrypted format, then it is stored as-is, regardless of whether ENCRYPTED or UNENCRYPTED is specified. This allows reloading of encrypted passwords during dump/restore. See the chapter on client authentication in the Administrator's Guide for details on how to set up authentication mechanisms. Note that older clients may lack support for the MD5 authentication mechanism that is needed to work with passwords that are stored encrypted. CREATEDB NOCREATEDB These clauses define a user's ability to create databases. If CREATEDB is specified, the user being defined will be allowed to cre- ate his own databases. Using NOCREATEDB will deny a user the ability to create databases. If this clause is omitted, NOCREATEDB is used by default. CREATEUSER NOCREATEUSER These clauses determine whether a user will be permitted to create new users himself. This option will also make the user a supe- ruser who can override all access restrictions. Omitting this clause will set the user's value of this attribute to be NOCREA- TEUSER. groupname A name of a group into which to insert the user as a new member. Multiple group names may be listed. abstime The VALID UNTIL clause sets an absolute time after which the user's password is no longer valid. If this clause is omitted the login will be valid for all time. DIAGNOSTICS
CREATE USER Message returned if the command completes successfully. NOTES
Use ALTER USER [alter_user(7)] to change the attributes of a user, and DROP USER [drop_user(7)] to remove a user. Use ALTER GROUP [alter_group(l)] to add the user to groups or remove the user from groups. PostgreSQL includes a program createuser [createuser(1)] that has the same functionality as this command (in fact, it calls this command) but can be run from the command shell. EXAMPLES
Create a user with no password: CREATE USER jonathan; Create a user with a password: CREATE USER davide WITH PASSWORD 'jw8s0F4'; Create a user with a password, whose account is valid until the end of 2001. Note that after one second has ticked in 2002, the account is not valid: CREATE USER miriam WITH PASSWORD 'jw8s0F4' VALID UNTIL 'Jan 1 2002'; Create an account where the user can create databases: CREATE USER manuel WITH PASSWORD 'jw8s0F4' CREATEDB; COMPATIBILITY
The CREATE USER statement is a PostgreSQL extension. The SQL standard leaves the definition of users to the implementation. SEE ALSO
ALTER USER [alter_user(7)], DROP USER [drop_user(l)], createuser(1) SQL - Language Statements 2002-11-22 CREATE USER(7)
All times are GMT -4. The time now is 11:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy