07-01-2005
Execute script on Unix/Linux from Windows
Hello ALL,
Does anyone know how I can execute a script on Unix or Linux? Details: This execution needs to start from Windows and I need to pass some parameters to the script.
If anyone knows how to execute, please, let me know. Please, send me an example how it is possible.
Thanks.
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hello
is it possible to have Both Windows AND Unix and even mabey Windows AND Unix AND Linux on 1 machine??
GŪ33Tz:confused: (7 Replies)
Discussion started by: justin45
7 Replies
2. Windows & DOS: Issues & Discussions
This subject was brought up a short while ago.
The question someone asked was is it possible to have Windows, Unix and Linux on one machine.
It is possible to have a dual boot machine and it is possible to run Linux under windows and windows under linux.
It is better to run Windows under Linux... (10 Replies)
Discussion started by: jacx2
10 Replies
3. Solaris
I want to have some document or any link which will give me the difference between Windows Based servers and Unix based servers. Also the power of the operating systems. (1 Reply)
Discussion started by: ktmjamal
1 Replies
4. UNIX for Dummies Questions & Answers
I like to start a korn job remotely, from windows. I tried REXEC and that is not what I want. Need help !!!! thanks (4 Replies)
Discussion started by: kyawlin
4 Replies
5. UNIX for Dummies Questions & Answers
OKay, I'm a complete dummy when it comes to Unix/Linux. I was under that impression that it's just like Windows, but not windows? I'm sure I sound like a moron.
First of all, I hate windows but I'm so very much a pc user. I'm not all that in love with Macs so, Mr.Gates seems like my only... (2 Replies)
Discussion started by: spaceshiporion
2 Replies
6. UNIX for Dummies Questions & Answers
I installed Vmware wotrkstation and installed Fedora Linux.. is working fine now.
While on windows I can access and enjoy fedora linux
But I have a question regarding if I download a file in windows and want that file to be transferred to /usr file system in my Fedora linux.
How can I do that... (5 Replies)
Discussion started by: venu_nbk
5 Replies
7. HP-UX
Good day,
i would like to get some advice, how will i execute my script in hp ux servers, and how to configure rsh and rexec.
thanks (2 Replies)
Discussion started by: kenshinhimura
2 Replies
8. Shell Programming and Scripting
i have a problem situation, where i have a html file say click.html. i have a button "ls" in that html page. i run this html file in windows....Now say if i click that "ls" button it must connect to the unix server and execute ls and return the results back to html page in windows. can anyone tell... (8 Replies)
Discussion started by: niteesh_!7
8 Replies
9. Windows & DOS: Issues & Discussions
Hi all,
I'm not sure if it is correct to post here.
I am facing problem wanting to create a batch that run from my Windows XP pc to remote to multiple Solaris server to execute the server's ksh script. :wall:
Can anyone give me a hints on how to do that? Thanks. (6 Replies)
Discussion started by: beginningDBA
6 Replies
10. Solaris
how to execute shell script present in unix machine remotely from windows?
I having a shell script in my unix machine, need to execute the script remotely from my windows machine using Visual Basic or VBA macros.
Thanks In Advance.
--Suresh (1 Reply)
Discussion started by: sureshmani
1 Replies
LEARN ABOUT DEBIAN
setuid
SETUID(1) General Commands Manual SETUID(1)
NAME
setuid - run a command with a different uid.
SYNOPSIS
setuid username|uid command [ args ]
DESCRIPTION
Setuid changes user id, then executes the specified command. Unlike some versions of su(1), this program doesn't ever ask for a password
when executed with effective uid=root. This program doesn't change the environment; it only changes the uid and then uses execvp() to find
the command in the path, and execute it. (If the command is a script, execvp() passes the command name to /bin/sh for processing.)
For example,
setuid some_user $SHELL
can be used to start a shell running as another user.
Setuid is useful inside scripts that are being run by a setuid-root user -- such as a script invoked with super, so that the script can
execute some commands using the uid of the original user, instead of root. This allows unsafe commands (such as editors and pagers) to be
used in a non-root mode inside a super script. For example, an operator with permission to modify a certain protected_file could use a
super command that simply does:
cp protected_file temp_file
setuid $ORIG_USER ${EDITOR:-/bin/vi} temp_file
cp temp_file protected_file
(Note: don't use this example directly. If the temp_file can somehow be replaced by another user, as might be the case if it's kept in a
temporary directory, there will be a race condition in the time between editing the temporary file and copying it back to the protected
file.)
AUTHOR
Will Deich
local SETUID(1)