Sponsored Content
Special Forums UNIX and Linux Applications Need the sample code for implementation of SFTP Post 302231907 by wsiefkas on Wednesday 3rd of September 2008 12:43:17 PM
Old 09-03-2008
This would be okay if as sysadmin I was able to log in as root. If it isn't already on the system I can't add or delete files to the core. DOL computers do not give the sysadmin root capabilities. I need to find something that exists besides 'expect' or 'spawn'
 

9 More Discussions You Might Find Interesting

1. Programming

C code for implementation of Memory Mapping

Please post a C code for implementation of Memory Mapping function. It should simulate the mmap command. (1 Reply)
Discussion started by: raviviolet13
1 Replies

2. Shell Programming and Scripting

Can't use Text::CSV... any sample code out there?

I was looking at a library that lets me parse comma delimited csv files without a problem, but unfortunately, I'm not allowed to make use of that library. I understand that the library probably does something similar to a string split(), but I don't quite know what kind of regular expression is... (1 Reply)
Discussion started by: mrwatkin
1 Replies

3. Programming

Help need a sample program

Hi all, Can some one provide me a sample program which measures the performance (both latency and throughput) of TCP and UDP protocol (2 Replies)
Discussion started by: magnetpest2k7
2 Replies

4. Solaris

Java api/sample code for sftp

I'm trying to find an api for Java to send/receive files via sftp. There are some available for purchase out there such as JScape, but I was hoping to find a free one. Does anyone know of one? I would also like to find an open source java example application that can send files via sftp. ... (2 Replies)
Discussion started by: JohnRodey
2 Replies

5. UNIX for Advanced & Expert Users

SFTP was successfull but got return code as 1

Hi, I am using SFTP for transferring files to remote server. Below is the snipped i am using for my sftp program echo "lcd $i_localdir">/tmp/sftp_Batch echo "cd $i_destdir">>/tmp/sftp_Batch echo "put $i_filename">>/tmp/sftp_Batch echo "chmod 644... (2 Replies)
Discussion started by: Ankgne
2 Replies

6. Shell Programming and Scripting

SFTP return Error Code 126

Hi, We are getting the following error code while connection remote server using sftp command. sftp user@serrver Warning: child process (/opt/ssh2/bin/ssh2) exited with code 126. pls Advise. (2 Replies)
Discussion started by: koti_rama
2 Replies

7. Shell Programming and Scripting

sample code to display mounted devices

Hi all I need to write shell script to list out the mounted devices for a particular user. As i am new to shell script please help me. Here the problem is sometime unmounted devices also will be displayed in fstab. How to rectify that? Can anybody help me? Regards Ilamathi (0 Replies)
Discussion started by: ilamathi
0 Replies

8. UNIX for Dummies Questions & Answers

Finding implementation code in UNIX for FAT16/32

So we know that Unix is free source software. And we know that Unix have support for FAT 16 and FAT 32. Does anyone know where can I found that implementation in code ? Thank you. (2 Replies)
Discussion started by: medolina
2 Replies

9. Shell Programming and Scripting

Sample output

hi gurus , i want the command to get the output in the desired format . basically to convert columns to rows. please refer to the attachment. (3 Replies)
Discussion started by: r_t_1601
3 Replies
CTLUSER(8)						      System Manager's Manual							CTLUSER(8)

NAME
ctluser - control lusers SYNOPSIS
ctluser [ -h ] [ -m ] command [ argument... ] DESCRIPTION
Ctluser sends a message to the control channel of a given luser(8) This command can only be run by the sysadmin(1) In the normal mode of behavior, the message is sent to the luser's brain, which then performs the requested action and sends back a reply with a text message and the exit code for ctluser. If the luser's brain successfully performed the command, ctluser will exit with a sta- tus of zero and print the reply on standard output. The ``-m'' flag is used to display an MPEG of the results of the given command on the console of the sysadmin(1) Note that this requires the sysadmin(1) to be running an X server. To see a command summary, use the ``-h'' flag. If a command is included when ctluser is invoked with the ``-h'' flag, then only the usage for that command will be given. The complete list of commands follows. Note that all commands have a fixed number of arguments. If a parameter can be an empty string, then it is necessary to specify it as two adjacent quotes, like "". addhist <entry> Add an entry to the luser's employment record. allow reason Allow a luser to use the computer system again. The reason must be the same text given with an earlier ``reject'' command. Note that this command is currently not implemented. begin name Begin a new luser(1) with the given file. Note that this command is currently not implemented. cancel pid Causes a process of a luser to be killed changegroup group Changes a luser from their current workgroup to the one specified. checkfile Forces a user to return to a paper based system drop Causes a large mass to drop onto the luser from a great height. flushlogs Destorys all logs of the actions done by the sysadmin(1) to the luser. go reason The luser is fired for the given reason. hangup Makes the luser hang themselves mode Displays the operating mode of the luser newgroup group Causes a luser to make their own newgroup up pause thought Makes the luser pause for the given thought. Note that this may cause some lusers to crash shutdown reason Makes the luser shutdown. This is essentially the same as killing them signal sig Sends the given signal to the luser throttle reason Causes the luser to throttle themselves trace item flag Gives the sysadmin(1) information on what the luser is doing. BUGS
Ctluser sometimes has the effect of lusers complaining the to management. The use of bosskill(8) maybe required at this point. HISTORY
Written by Simon Burr <simes@tcp.co.uk>. Based upon the manual page for ctlinnd(8), part of the InterNetNews system. SEE ALSO
luser(1), sysadmin(1), bosskill(8) 19 October 1995 CTLUSER(8)
All times are GMT -4. The time now is 02:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy