10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all.
I need a bash script to run a function remotely. I think it should be similar to the following but can't figure out the exact syntax.
Here is the script:
#!/bin/bash
function nu ()
{
for var in {0..5}; do printf "$var, "; done; echo
}
ssh host "$(typeset -f); nu"
... (9 Replies)
Discussion started by: ziguy
9 Replies
2. Solaris
Hi everyone,
I have a Solaris machine:
SunOS 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T5220
After reboot, I can't ssh to this machine. Error message:
ssh: connect to host xxxx port 22: Connection refused
It seems ssh daemon is not running, but I don't have... (5 Replies)
Discussion started by: Zaiwen Gong
5 Replies
3. Solaris
Hello. I am trying to ssh and run a script from a remote computer. These computers will be both Windows and MACs. I am using Solaris 8 and what I have tried is:
using putty
ssh user@ip_address (remote command) /folder/folder/filename.sh
The issue here is that the user profile has not... (3 Replies)
Discussion started by: jkmtm
3 Replies
4. Shell Programming and Scripting
Hi all,
Today I want to write a script to run the commands remotely.
If I run the command as follows:
ssh <user>@<ip> 'ls; pwd'
it works fine.
But when I want to use ssh to set view in clearcase, it will lose the response. as follows
ssh <user>@<ip> 'cleartool setview <view_name>; pwd'... (1 Reply)
Discussion started by: Damon_Qu
1 Replies
5. Shell Programming and Scripting
Hi
I would like to append/modify crontab remotely over ssh and this is what i have tried so far.
text.txt contains the following line.
0,15,30,45 * * * * /home/local/hello.sh
cat text.txt |ssh $host 'tee'
but i dont know how to edit the crontab here after piping it to tee command. (2 Replies)
Discussion started by: xiamin
2 Replies
6. AIX
I am trying to access CDE on AIX5.3 remotely via tsclient(XDMCP)
I installed tsclient and xnest on Linux machines. (Home and Office)
I can access CDE on AIX5.3 from same subnet(In my Office)
but I can't access CDE on AIX5.3 from different subnet(At Home)(I can't see CDE login screen)
I... (2 Replies)
Discussion started by: lifegeek
2 Replies
7. UNIX for Advanced & Expert Users
Hi,
I mean Unix Linux general solution, so please don't move my question, as it's Unix specific.
I would like to remotely control my "full" Linux router.
Already succeeded to compile Linux Unix dialog, running some tests.
The issue is dialog comes with a limited number of widget boxes for... (4 Replies)
Discussion started by: jack2
4 Replies
8. UNIX for Advanced & Expert Users
Hi
Can someone giv me some knowledge on accesing windows from unix and executing DOS scripts using SSH
I would like to know how to go abt it...am new to it.
Thanks in advance (1 Reply)
Discussion started by: lakshmis10
1 Replies
9. UNIX for Advanced & Expert Users
Is it possible to change the password using a shell script, I want to remotely connect to a computer and then change password without manual intevention.
Thanks in Advance
Rishi (4 Replies)
Discussion started by: RishiPahuja
4 Replies
10. Shell Programming and Scripting
Hi,
I am trying to run the below command in perl but when the perl script is executed it prompts a error message saying " ssh: <username>: Name or service not known ". Not able to understand this as this command runs perfectly on the server prompt.
` ssh <username>@pus4026dev df -k >>... (2 Replies)
Discussion started by: be2sp1
2 Replies
TrustedExtensionsPolicy(4) File Formats TrustedExtensionsPolicy(4)
NAME
TrustedExtensionsPolicy - configuration file for Trusted Extensions X Server Extension
SYNOPSIS
/usr/X11/lib/X11/xserver/TrustedExtensionsPolicy
/usr/openwin/server/etc/TrustedExtensionsPolicy
DESCRIPTION
TrustedExtensionsPolicy is the configuration file for Trusted Extensions X Server Extension (SUN_TSOL). SUN_TSOL provides security policy
enforcement. This enforcement is based on Mandatory Access Control (MAC) and Discretionary Access Control (DAC).
Blank lines and comments in the TrustedExtensionsPolicy file are ignored. Comments start with a pound sign (#). The format of the file is
as follows:
keyword{space|tab}value
where keyword can be one of the following:
atom Label this atom ADMIN_LOW, so that XGetAtomName(3X11) succeeds.
property Instantiate this property once. The default is to polyinstantiate a property.
selection Polyinstantiate this selection. The default is to instantiate the selection once.
extension Disable this extension.
privilege Implicitly allow this window privilege on all clients.
For possible keyword values, see the /usr/X11/lib/X11/xserver/TrustedExtensionsPolicy file for the Xorg X server. For Xsun, see the
/usr/openwin/server/etc/TrustedExtensionsPolicy file.
EXAMPLES
The following entry in the TrustedExtensionsPolicy file polyinstantiates the Dtpad program:
selection Dtpad
If the entry is missing, or commented out, the Dtpad program is instantiated once.
Similarly, the following entry instantiates the WM_ICON_SIZE property once:
property WM_ICON_SIZE
If the entry is missing, or commented out, the WM_ICON_SIZE property is polyinstantiated.
FILES
/usr/X11/lib/X11/xserver/TrustedExtensionsPolicy
Configuration file for Trusted Extensions X Server Extension
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+----------------------+------------------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+----------------------+------------------------------------+
|Availability |SUNWxwts |
+----------------------+------------------------------------+
|Interface Stability |Committed |
+----------------------+------------------------------------+
SEE ALSO
XGetAtomName(3X11), attributes(5)
NOTES
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.
SunOS 5.11 20 Jul 2007 TrustedExtensionsPolicy(4)