8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey guys,
Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries.
However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
Which tools or method is popular, simple and effective, to check memory such as bad sector, throughput and performance?
Thank you.
- j (5 Replies)
Discussion started by: hce
5 Replies
3. Red Hat
I am planning to install the latest version of Red Hat on a desktop computer, and use it as a platform to become more up-to-date on Linux and associated open source applications. I'm thinking to buy a used Dell or HP desktop computer; maybe two or three years old (or newer); on which to install... (2 Replies)
Discussion started by: CarsonsPlanet
2 Replies
4. What is on Your Mind?
Which among the following is most popular choice as a mail server -
1)Sendmail
2)Postfix
3)Qmail
Which is the industry preferred one? (2 Replies)
Discussion started by: proactiveaditya
2 Replies
5. Programming
Since there've been a few requests for a method to execute commands on multiple CPUs (logical or physical), with various levels of shell-, make-, or Perl-based solutions, ranging from well-done to well-meant, and mostly specific to a certain problem, I've started to write a C-based solution... (4 Replies)
Discussion started by: pludi
4 Replies
6. UNIX for Dummies Questions & Answers
Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right... (1 Reply)
Discussion started by: vishwamitra
1 Replies
7. Web Development
Hello,
Do you have any suggestions? I want to know your opinions why Python is not so popular in web env. Thank you! (6 Replies)
Discussion started by: gstoychev
6 Replies
8. UNIX for Dummies Questions & Answers
hello everyone. i am working on getting my network+ and server+ certs. after that i want to get a unix cert, but i don't know what's the most needed. i've checked the web sites for sun, ibm, and hp and they all claim to have the fastest, most stable, open source compatible unix system that sets all... (1 Reply)
Discussion started by: foustware
1 Replies
getuid(2) System Calls Manual getuid(2)
NAME
getuid, geteuid - Gets the real or effective user ID
SYNOPSIS
#include <unistd.h>
uid_t getuid( void );
uid_t geteuid( void );
Application developers may want to specify an #include statement for <sys/types.h> before the one for <unistd.h> if programs are being
developed for multiple platforms. The additional #include statement is not required on Tru64 UNIX systems or by ISO or X/Open standards,
but may be required on other vendors' systems that conform to these standards.
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
getuid(): POSIX.1, XPG4, XPG4-UNIX
Refer to the standards(5) reference page for more information about industry standards and associated tags.
DESCRIPTION
The getuid() function returns the real user ID of the calling process.
The geteuid() function returns the effective user ID of the calling process.
RELATED INFORMATION
Functions: setuid(2), setruid(3), setreuid(2)
Standards: standards(5) delim off
getuid(2)