FTP as Super User


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers FTP as Super User
# 1  
Old 05-22-2002
FTP as Super User

How do you FTP as a Super User? I need to send some files into a cgi-bin directory. I can telnet in as a SU but, cannot figure out how to do it with FTP.

Thanks,

Frank
# 2  
Old 05-22-2002
Computer Uh...

Type the following line at the command prompt:

sudo ftp

then hit return. You will then be prompted for the superuser password. Type it in, hit return, and you're FTPing as the superuser (as long as your FTP daemon is configured to accept the superuser as a remote login; sometimes they're default configured not to for security reasons).
# 3  
Old 05-22-2002
Thank you very much!

FrankSmilie
# 4  
Old 05-23-2002
Lightbulb No problem!

No problem, fbavent! The sudo commmand is a corruption of "pseudo," as in pseudonym, i.e., an alias. Sudo lets you impersonate the superuser for any command line. If you'd like the manual pages for sudo, they're on your system now--type in man sudo to view them. If you'd like one of my patented shiny PDFs of this or any other manual page, just post below--I'll e-mail it to you!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP User

Dear Unix geeks, I am shocked and upset that I couldn't solve the below issue. One ftpuser was using his account for years to get data from server but reported an error today. 220 (vsFTPd 2.0.4) Name (10.130.9.71:root): rbiftp 331 Please specify the password. Password: 500 OOPS: cannot... (2 Replies)
Discussion started by: Naga06
2 Replies

2. UNIX for Advanced & Expert Users

How can I run command with super user privledge

Hello All, I am working on UNIX like environment. This environment is ported from UNIX. Here when we need to build product set, we need to run some script with super user privledge (which we normal user dont have) Is there any way (some C program or some script) through which any normal... (2 Replies)
Discussion started by: joshi123
2 Replies

3. UNIX for Advanced & Expert Users

loggin remote computer as a super user.

hello all, can i loggin remote computer as a super user(i know root user/passwd) and change his access controlle list. if yes please tell me how to do it, i am new to linux. thank you. (6 Replies)
Discussion started by: zius_oram
6 Replies

4. Shell Programming and Scripting

auto login to Super User account

i want to write to script which will login to su account without hving user interaction.( i know Super user password) i wrote following script its also able to log into su account. but seesion gets terminates soon. what can be done ??? or is there any other solution. i don't want to use expect... (6 Replies)
Discussion started by: anup13
6 Replies

5. Shell Programming and Scripting

How do i change to super user then revert back to ordinary user ,using shell script?

Hi all, I am trying to eject the cdrom from a livecd after certain stage... Now assuming that it is possible to eject,please consider my issue!!! The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive... However if i try pfexec eject it... (3 Replies)
Discussion started by: wrapster
3 Replies

6. Shell Programming and Scripting

Script using awk works only as super user

hi friends, I am a new Sun Solaris 10 user. I have the following script line=$(awk '{if(substr($0,1,1)!="#" && substr($0,1,1)!=";" && substr($0,1,1)!=" " && substr($0,1,1)!="/" && substr($0,1,1)!="*" && substr($0,1,1)!="\\" && length($0)!=0) ... (10 Replies)
Discussion started by: gjithin
10 Replies

7. Solaris

Sunsolaris shell script runs only as super user

Hi Friends, I am new to Sun solaris unix.I am facing problem while runing my kornshell script just as an ordinary user.The script works fine while i am working as a super user.the script just uses awk to check the first charcter of a file and then copies the file to another folder. Do i... (4 Replies)
Discussion started by: gjithin
4 Replies

8. UNIX for Dummies Questions & Answers

rsh as super user without password prompt

Dear forum, First off, I'm using Solaris 5.6 UNIX. I'm trying to write a script which will connect to remote computers on a network (by specific IP's from a hosts file) and will run a separate script which is installed in each of the remote computers. My problem is that to run the script in the... (1 Reply)
Discussion started by: TheMightyUrrrrf
1 Replies

9. HP-UX

BAD SUPER BLOCK - Run fsck with alternate super block number

Error received when I tried to restore a blank disk with an 'auto recovery' DDS tape via HP-UX recovery system 2.0 onto a 1Gb SCSI. I assumed it would do the setup, wrong. Could someone tell me the procedure to initial disk for recovering files using cpio. The system is a HP-UX 9.04 version on a... (1 Reply)
Discussion started by: admin wanabee
1 Replies

10. UNIX for Advanced & Expert Users

reassigning key functions in super user mode

At my old job the TAB key was used in Super User mode rather than the default of the ESC key. I was wondering how to reassign the TAB key so that it acquires the functions of the ESC key. Thanks for the help. -Shana (5 Replies)
Discussion started by: lehcar511
5 Replies
Login or Register to Ask a Question