I tried the search and didn't come up with an answer to my question so I decided I'd post it....
How do you add a new IP address to a SCO Unix box?
We're adding a router and I need to add the IP address to the UNIX box for the system to find it..
Thanks in Advance (1 Reply)
Hi,
I'm trying to write a script, which will perform the following actions.
Pick up the IP address of the PC I have used to telnet into the SUN server.
Export this.
Run the rest of my script.
I am struggling with the first part, I know the IP address can be displayed by the command... (2 Replies)
Hi all,
I would like to know if I can send unix mail to 'external email addresses'.
My unix server is leo@ABCcompany.com.
I am able to send emails to firstname.lastname@ABCcompany.com.
But, we have some email addresses in our team on our parent company's server - ex:... (2 Replies)
HI,
I'm trying to create a script that a regular unix user can run from a unix menu and disable and enable a unix printer.
Any help will be very helpful.
Thanks (0 Replies)
Hello! I have logged in using Putty into another machine 'tele'. The ip address which i used to login to 'tele' is 192.168.1.3. Now while at 'tele' when i run "#ifconfig -a" i get the same ip address i.e, 192.168.1.3. But when i run "#arp tele" it gives the output:
tele (10.143.128.8)
... (9 Replies)
Hi,
My project needs to migrate the existing Subnet (255.255.255.0) to a new subnet and change the ipaddresses (currently C class). How can I do that. I need some information.
John (0 Replies)
hi friends,
im new to scripting and am tiring out to valid an ip address if user inputs
9 : 003 : 0 : 0 : 100 : 256 ,i need to suppress all leading zeros and single zero
ie out put for the same should be
9 : 3 : : : 100 : 256 can any help using awk ,regular expression to split the string... (1 Reply)
Discussion started by: sandeepjeede
1 Replies
LEARN ABOUT CENTOS
getuid32
GETUID(2) Linux Programmer's Manual GETUID(2)NAME
getuid, geteuid - get user identity
SYNOPSIS
#include <unistd.h>
#include <sys/types.h>
uid_t getuid(void);
uid_t geteuid(void);
DESCRIPTION
getuid() returns the real user ID of the calling process.
geteuid() returns the effective user ID of the calling process.
ERRORS
These functions are always successful.
CONFORMING TO
POSIX.1-2001, 4.3BSD.
NOTES
History
In UNIX V6 the getuid() call returned (euid << 8) + uid. UNIX V7 introduced separate calls getuid() and geteuid().
The original Linux getuid() and geteuid() system calls supported only 16-bit user IDs. Subsequently, Linux 2.4 added getuid32() and
geteuid32(), supporting 32-bit IDs. The glibc getuid() and geteuid() wrapper functions transparently deal with the variations across ker-
nel versions.
SEE ALSO getresuid(2), setreuid(2), setuid(2), credentials(7)COLOPHON
This page is part of release 3.53 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 2010-11-22 GETUID(2)