10-14-2015
I can't guess. You didn't provide the data requested. You'll need to compare the environments of the two processes to find out what causes the error.
8 More Discussions You Might Find Interesting
1. Gentoo
I have a very short period of time in which to set up a proxy server for about 800 Windows boxes that "have to" use IE5 or IE6. I decided to try Squid since it seems to be the most popular proxy out there and it supports SSL/https proxying. I tested quiet a few things the past few days and... (2 Replies)
Discussion started by: deckard
2 Replies
2. Solaris
Hi All ,
I am new to solaris & i would like to explore it to taste a flavour of
Unix.
Before I installed I did a lot of googling as I did not want to play
with the data i have on win XP & finally installed Solaris in a dual
mode option along with Win XP.
These are the steps i... (1 Reply)
Discussion started by: codewarrior
1 Replies
3. UNIX for Dummies Questions & Answers
Please can anyone help me with how to install cygwin on a windows Xp SP2 platform, I cant seem to get it to work? (1 Reply)
Discussion started by: jimoney
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
In SUSE SLES 10 SP2 where are the software repositories located? In CENTOS they are in /etc/yum.repositories or something like that. What does SLES use? (1 Reply)
Discussion started by: mojoman
1 Replies
5. HP-UX
My environment is HP-UX...
NIS CEL | uname -a
HP-UX s53kj113 B.11.11 U 9000/800 1510201964 unlimited-user license
I ran this command directly from the server's sqllplus. Logically, it should have work.
But in my case, it always escaped the 1st character of the next command after the... (3 Replies)
Discussion started by: aimy
3 Replies
6. UNIX for Dummies Questions & Answers
hi guys
I've configured some CentOS where you can set a password for VNC and that password is requested before connecting to the normal user login
But I found that Suse 10 SP3 has no such thing
basically it has this configuration under /etc/xinetd.d/vnc
service vnc1
{
... (2 Replies)
Discussion started by: kopper
2 Replies
7. Shell Programming and Scripting
hi all,
i have a unix script where i am calling a database procedure from it. while executing the procedure i am getting an error:
but when i tried to call the same procedure manually then it ran successfully, i goggled this issue and found timezone.dat file missing at... (0 Replies)
Discussion started by: lovelysethii
0 Replies
8. Fedora
hi guys
I am trying to install this extension for php named memcached but I am not really able to do it
PECL :: Package :: memcached
I have Suse 11 SP2 installed without any registration (I mean installed not paying subscription) so my question
is there a way to install it like in... (0 Replies)
Discussion started by: karlochacon
0 Replies
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)