The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-27-2005
Registered User
 

Join Date: Sep 2005
Posts: 128
Stumble this Post!
please help

Dear friends


I am writing small script containing ftping data to some other system.
code is here
cd /tmp

here iam sending data from /tmp dir ,that tmp dir owner is root

after sending the data i want to remove that gone files

if i give rm -f *.tip

then error was coming
rm: cannot unlink `TIP-14-3000434.tip': Operation not permitted
so now i want to login as a root after that i have give rm command
i know the root pwd
please letme know the sysntax usage of that passwd.

ihave tried like this

user root sys

but error was coming


regards

rajan










Last edited by rajan_ka1; 10-27-2005 at 01:28 AM.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-27-2005
vino's Avatar
Supporter (in vino veritas)
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,660
Stumble this Post!
Those are real data I think. I could ftp to it.

Remove them from the post.
Reply With Quote
  #3 (permalink)  
Old 10-27-2005
Registered User
 

Join Date: Sep 2005
Posts: 128
Stumble this Post!
please help

Dear friends

i want to ftp some data to another ftp server as a super user


i used the following syntax in the script


like this

user su root

but the error user root does n't exist was coming

please post correct sysntx

regards
rajan


Reply With Quote
  #4 (permalink)  
Old 10-27-2005
Registered User
 

Join Date: Sep 2005
Posts: 128
Stumble this Post!
please post reply


urgent


regards
rajan
Reply With Quote
  #5 (permalink)  
Old 10-27-2005
Registered User
 

Join Date: Oct 2005
Posts: 22
Stumble this Post!
Auto FTP Discussion - HOWTO
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:32 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0