07-20-2004
K D E S u p r e m a c y
haha
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I don't mean the client.... I mean the server - I have the client to connect to a windows citrix server already.
The next best thing I can use at present is VNC (I only want remote desktop, not application sharing specifically). The thing with VNC is that when you go on you are... (3 Replies)
Discussion started by: d11wtq
3 Replies
2. Solaris
Hi,
i have a pentium-4 desktop with intel Motherboard and processor, which version of solaris i can install ,
Please refer.
Thanks
Vijayq8.:b: (6 Replies)
Discussion started by: vijayq8
6 Replies
3. What is on Your Mind?
hey there, new to the forums here.
long story short, i have interests in both HAM radio and *nix OS's and want to start a project that will combine the two. so, the question is:
are there any *nix flavors or other distros that were specifically designed for radio/airwave communications, or... (0 Replies)
Discussion started by: BartlettMagic
0 Replies
4. UNIX for Advanced & Expert Users
Which is the most secure *nix for home business/ office use? Would have to be fairly well up to date browser and drivers wise.
Myself I seem to have settled on RedHat - I've trialled the Desktop, and am part-way through a server trial. I've essentially not managed to keep the browser as secure... (2 Replies)
Discussion started by: GSO
2 Replies
5. Hardware
Hi all,
I want to buy a desktop/workstation, load Red Hat 6 and create some virtual machines to work with. Does anyone currently have systems at home that you have virtual machines on? Remember, I am not talking about server class systems, but just the ordinary desktops. I see a lot of 64-bit... (1 Reply)
Discussion started by: geelsu
1 Replies
6. What is on Your Mind?
Hello All,
Just want to share some funny *NIX commands :).
$ make love
make: *** No rule to make target `love'. Stop.
On a FreeBSD make:
$ make love
Not war.
$ \(-
bash: (-: command not found
$ man woman
No manual entry for woman
$ touch /me
touch: cannot touch `/me':... (5 Replies)
Discussion started by: RavinderSingh13
5 Replies
7. What is on Your Mind?
Hello All,
This Poll/thread is for views of all forum user regarding following point:
There are many people in this forum who are actually not actually working on *NIX(admin or real scripting/automation part) but they are/have learnt scripting and trying to help/guide/advice/sharing... (11 Replies)
Discussion started by: RavinderSingh13
11 Replies
LEARN ABOUT LINUX
setegid
SETEUID(2) Linux Programmer's Manual SETEUID(2)
NAME
seteuid, setegid - set effective user or group ID
SYNOPSIS
#include <sys/types.h>
#include <unistd.h>
int seteuid(uid_t euid);
int setegid(gid_t egid);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
seteuid(), setegid():
_BSD_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600
DESCRIPTION
seteuid() sets the effective user ID of the calling process. Unprivileged user processes may only set the effective user ID to the real
user ID, the effective user ID or the saved set-user-ID.
Precisely the same holds for setegid() with "group" instead of "user".
RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
ERRORS
EPERM The calling process is not privileged (Linux: does not have the CAP_SETUID capability in the case of seteuid(), or the CAP_SETGID
capability in the case of setegid()) and euid (respectively, egid) is not the real user (group) ID, the effective user (group) ID,
or the saved set-user-ID (saved set-group-ID).
CONFORMING TO
4.3BSD, POSIX.1-2001.
NOTES
Setting the effective user (group) ID to the saved set-user-ID (saved set-group-ID) is possible since Linux 1.1.37 (1.1.38). On an arbi-
trary system one should check _POSIX_SAVED_IDS.
Under libc4, libc5 and glibc 2.0 seteuid(euid) is equivalent to setreuid(-1, euid) and hence may change the saved set-user-ID. Under glibc
2.1 and later it is equivalent to setresuid(-1, euid, -1) and hence does not change the saved set-user-ID. Similar remarks hold for sete-
gid().
According to POSIX.1, seteuid() (setegid()) need not permit euid (egid) to be the same value as the current effective user (group) ID, and
some implementations do not permit this.
SEE ALSO
geteuid(2), setresuid(2), setreuid(2), setuid(2), capabilities(7), credentials(7)
COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2009-10-17 SETEUID(2)