12-30-2018
Please tell me where I should put the script.
I, being a non-root user, want to start X from command line
8 More Discussions You Might Find Interesting
1. Solaris
can someone please through light on how to configure video and nic.
Dimension 3000 Series, Intel Pentium 4 Processor at 2.8GHz
256MB DDR SDRAM at 400MHz EA 0.00 0.00
17 in (17 in viewable) E173FP Flat Panel Display EA
Integrated Intel Extreme Graphics 2 EA
Intel Pro 100M Integrated... (4 Replies)
Discussion started by: Jimmpy
4 Replies
2. Solaris
I am using Xorg server with Solaris 10.
After unnormal poweroff dtlogin tells: "The X-server can not be started on display :0"
I am absolutelly sure it is because there is still a X-lock file from the previouse X-session somewhere, but I do not know where is it located in Solaris! :confused: (2 Replies)
Discussion started by: eugrus
2 Replies
3. UNIX for Dummies Questions & Answers
:) I have question regarding Solaris 10 x86 Update ,does it require sunsolve account and if am using Solaris 10 x86 for learning ,how to get sunsolve account with out a contract number .i am very in need for this update .
Please if any can help, help is highly appreciated :) (1 Reply)
Discussion started by: ibasit
1 Replies
4. UNIX for Dummies Questions & Answers
I know that Sun make s a version of Solaris for Sparc platforms and also an x86 (Intel/AMD) release of Solaris. Can an application that runs on Solaris/Sparc also run on a PC running the x86 release of Solaris? Would a different release be required or any re-compling of the application?
jim (1 Reply)
Discussion started by: stocksj
1 Replies
5. Linux
I have cdrom with the following files which I copieed on my hard drive.
RHEL4-U4-i386-ES-disc1.iso RHEL4-U4-i386-ES-disc4.iso
RHEL4-U4-i386-ES-disc2.iso RHEL4-U4-i386-ES-disc5.iso
RHEL4-U4-i386-ES-disc3.iso
What shell I do now to upgrade linux version. :o
Thank you
zam (6 Replies)
Discussion started by: zam
6 Replies
6. Solaris
HI Unix Gurus
i am new to Solaris OS, i want to configure NIS CLient for Solaris 7 x86 Machine. i need what are the step and how to configure it in that machine.. please let me know
Thanks in Advance
Regards
..kiruba.. (2 Replies)
Discussion started by: nkkirubakaran
2 Replies
7. Windows & DOS: Issues & Discussions
Hello All.
Really a newbie to Linux/Unix. Trying to get into Linux. Using XP PE currently. Installed cygwin and trying to intall cygwin-x. Everything else is setup nice but i can't seem to install these two packages (without whom xwin won't start)
1. xorg-x11-f100
2. xorg-x11-fnts
Tried the... (1 Reply)
Discussion started by: binodbdrchand
1 Replies
8. Solaris
Hi ,
I have installed solaris 10 on x 86 architecture. Now i want to configure this system as Proxy Server. I am new to the solaris. Please help me how can i configure this. Which packages or patches are needed ? or Which files have to be modify ?
Please help me to resolve.
Thanks and... (0 Replies)
Discussion started by: raviraj001
0 Replies
LEARN ABOUT XFREE86
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)