Sponsored Content
Full Discussion: FIND/CHMOD combined
Top Forums Shell Programming and Scripting FIND/CHMOD combined Post 302136570 by kahuna on Tuesday 18th of September 2007 01:16:29 PM
Old 09-18-2007
As far as how, you'll need to get the unix administrator to set you up with a unix account. You could reuse some of your existing code, but connect to the telnet port instead of the ftp port. I think Porter suggested ssh as a more secure way of connecting. But telnet should at least get you there if you are not concerned with security.

I should qualify the telnet statements. It assumes that there aren't firewalls in the way and that your unix box is not strictly an ftp server. That the unix system allow remote logins.

Last edited by kahuna; 09-18-2007 at 02:25 PM.. Reason: add qualifications
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

chmod 777 on all directories below...how do I do that using the "find" command?

I've got 100 directories that each have 2 directories with in them. Structered like this: /home/domains/domain1/ through to /home/domains/domain100/ and those 2 directories mentioned above are here: /home/domains/domain1/directory1/ /home/domains/domain1/directory2/ through to... (7 Replies)
Discussion started by: Neko
7 Replies

2. UNIX for Advanced & Expert Users

help on find with chmod.. urgent help needed

Hello to all Unix gurus.. I am writing a generic script which takes the options of unix command as input and concatenate all the pieces and forms a complete executable command. I am getting an error with the following command as I am resetting my own permission on the root directory. When the... (4 Replies)
Discussion started by: sdlayeeq
4 Replies

3. HP-UX

how can I find all tool which can setuid like chmod

for security issue ,i would like to find all privilege tools that can setuid how to do this (2 Replies)
Discussion started by: alert0919
2 Replies

4. Shell Programming and Scripting

How to combined file?

hello there unix programmer i have problem in combining file and their values.. here it is. in my file1 i have values 1010<tab>10<tab>11<tab>13 1011<tab>11<tab>12<tab>14 in my file2 i have values 1010<tab>22<tab>23<tab>24 1011<tab>23<tab>24<tab>25 my desired output in shell... (7 Replies)
Discussion started by: jantzen16
7 Replies

5. UNIX and Linux Applications

What is the difference between chmod in solaris and chmod in Linux?

i think it is the same in both... Iam i right? (1 Reply)
Discussion started by: sumaiya
1 Replies

6. Shell Programming and Scripting

Find and automatically chmod

Hello everyone, my friend is asking for yOur Help. He is asking the script for combined find and changemode utility... Thank you (4 Replies)
Discussion started by: iennetastic
4 Replies

7. Shell Programming and Scripting

Combined Two CSV Lines

I have two CSV lines, I.e.: Line 1 = the,quick,brown,fox, ,jumps, ,the, ,dog Line 2 = the,quick,brown,fox, , ,over, ,lazy,dog Literally, columns missing from line 1 exist in line 2. Any suggestions on quick ways to combined these two lines into one line: New line:... (2 Replies)
Discussion started by: msf004
2 Replies

8. UNIX for Dummies Questions & Answers

Unix Find and Chmod Question

I have a folder called "test" and this folder contains lots of other folders as sub folders, i intend to search for all file ending with .bin and then change the files to executable please how do i do this ---------- Post updated at 10:48 AM ---------- Previous update was at 10:42 AM ----------... (3 Replies)
Discussion started by: oyesiji
3 Replies

9. UNIX for Dummies Questions & Answers

Grep and cat combined

Hello, i need to search one word (snp1) from many files and copy the content of the columns of this word in new file. example: file 1: SNP BP CHR P snp1 1 3 0.01 snp2 2 2 0.05 . . file 2: SNP BP CHR P snp1 1 3 0.06 snp2 2 2 0.3 output... (6 Replies)
Discussion started by: biopsy
6 Replies

10. Shell Programming and Scripting

awk combined with an IF

Hi everybody! I try to printout a csv-file with the exeption of cell $1 and $4. what i tried so far: awk '{for(i = 1; i<=NF; i++);if(i == 1 || i == 4);else print($i)}' file.csv ..any ideas how it work and why my example fails? Thanks in advance! IMPe (3 Replies)
Discussion started by: IMPe
3 Replies
cconsole(1M)						  System Administration Commands					      cconsole(1M)

NAME
cconsole , crlogin, cssh, ctelnet - multi window, multi machine, remote console, login, ssh, and telnet commands SYNOPSIS
$CLUSTER_HOME/bin/cconsole [-s] [ -l username] [clustername... | nodename...] $CLUSTER_HOME/bin/crlogin [-l username] [clustername... | nodename...] $CLUSTER_HOME/bin/cssh [-l username] [-p ssh-port] [clustername... | nodename...] $CLUSTER_HOME/bin/ctelnet [clustername... | nodename...] DESCRIPTION
These utilities initiate a multiple window connection to a set of specified hosts. There are three variations: one that is specifically intended for remote console access while the others provide remote logins using rlogin, ssh, or telnet. Each utility starts a host window for each of the specified hosts, as well as a common window. Input directed into the common window is sent to each of these host windows. This tool is useful for system administration tasks that require similar things to be done on each of several hosts. For tasks that are identical on all hosts, typing in the common window sends the characters to all of the hosts. However, the host windows are normal terminal windows so they can also be used one at a time (by moving the mouse into one of them and typing directly into it) to perform host specific tasks. The common window also allows the user to select which hosts receive the characters typed in the common window, so only the specified hosts will receive input. These utilities use entries in two different databases, /etc/clusters and /etc/serialports. cconsole The cconsole command provides remote console access through the telnet command. All normal telnet escape characters are available to the user. See the telnet(1) man page for a complete listing of telnet escape characters. Because there are a few telnet escapes that are com- monly used, they are provided here as well. The escape character is Control-], specified below as ^]. ^] quit Quit the session. Analogous to ~. in tip and rlogin. ^] send brk Send a break signal to the remote system. This is what is needed to halt the Sun CPU. The normal key board sequence is "L1-A." crlogin The crlogin utility provides remote login through the rlogin command to multiple cluster nodes. cssh The cssh utility establishes Secure Shell connections directly to the cluster nodes through the ssh command. ctelnet The ctelnet utility is similar to cconsole except that the connection is directly over the Internet. OPTIONS
The following options are supported: -l username Specifies the user name for the ssh connection. This option is passed to the cconsole, crlogin, or cssh utility when the utility is launched from the CCP. The ctelnet utility ignores this option. If the -l option is not specified, the user name that launched the CCP is effective. -p ssh-port Specifies the Secure Shell port number to use. This option is passed to the cssh utility when the utility is launched from the CCP. The cconsole, crlogin, and ctelnet utilities ignore this option, If the -p option is not specified, the default port number 22 is used for secure connections. -s Specifies using Secure Shell connections to node consoles instead of telnet connections. This option is passed to the cconsole utility when the utility is launched from the CCP. The crlogin, cssh, and ctelnet utilities ignore this option. If the -s option is not specified, the cconsole utility uses telnet connections to the consoles. To override the -s option, deselect the Use SSH checkbox in the Options menu of the cconsole graphical user interface (GUI). ENVIRONMENT VARIABLES
The following environment variables affect the execution of these utilities: CLUSTER_HOME Location of Sun Cluster System tools. Defaults to /opt/SUNWcluster. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWccon | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
rlogin(1), ssh(1), telnet(1), tip(1), ccp(1M), chosts(1M), cports(1M), clusters(4), serialports(4), attributes(5) NOTES
The standard set of X Window System command line arguments are accepted. Sun Cluster 3.2 8 Sep 2007 cconsole(1M)
All times are GMT -4. The time now is 02:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy