11-18-2015
First of all you have to specify, what kind of UNIX or Linux you have. Messages about successful logons can be very different and can be found in different places on different UNIXes.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to know as what all Unix types can be installed on PC, i.e. Intel Pentium processor and having HDD of let us say 4 GB or so? What RAM would be sufficient? I know for sure that Linux is free and can be installed on PC, can some one tell about other UNIX types which can be obtained for... (3 Replies)
Discussion started by: SANJAY
3 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I've search this site many times and ave not been able to find my answer. So I'm going to post my question....(duh)
Ok.
I'm wanting to know what file types does unix support.
if you can try and list them like this:
php, .php
or somthing like that.
plus don't forget that I said I... (3 Replies)
Discussion started by: dgames
3 Replies
3. UNIX for Dummies Questions & Answers
Hi everyone,
I am a newbies to Unix and hope someone can help me on:
1. Do anyone has batch file example that can be logon to a unix sever through telnet and exec a nohup command without typing in username and passward everytime ?
2. A java script exmaple for doing the same logon so it... (1 Reply)
Discussion started by: oht
1 Replies
4. Windows & DOS: Issues & Discussions
I am not an expert in Unix at all. My knowledge of Unix is average. We have a couple of Unix servers, Solaris and Linux, which run mostly web servers, and Oracle databases. Currently users have multiple user IDs for Unix and AD applications. Is it possible to make use of the Windows Active... (2 Replies)
Discussion started by: speriya
2 Replies
5. Solaris
Experts,
Is there any way to know which authentication method the user used to login into the box? I mean, is possible to identify if an active user had logged using keys or password for example?
Let me clarify: we have a script that we want to allow users to execute only if they have used... (2 Replies)
Discussion started by: fmattos
2 Replies
6. Solaris
I am using solaris unix 8.2 version. I want to bypass password authentication for sftp. Can you please give some ideas on this. thanks.Regards. (4 Replies)
Discussion started by: vijill
4 Replies
7. Shell Programming and Scripting
Hello - Is there a command/way we can find out, what shells are supported on a Unix machine?
Please let me know.
Thanks,
Manju (3 Replies)
Discussion started by: manju--
3 Replies
8. AIX
We are looking at using Tivoli Directory Server (LDAP) or Active Directory 2003 for authentication. I wanted to get some feedback from the community. Our goal is to do it the simplest, easiest, and cheapest way that allows for centralized user authentication. We are mainly an AIX environment with... (3 Replies)
Discussion started by: x96riley3
3 Replies
9. Shell Programming and Scripting
Hi All,
My Servers are enabled with a secondary authentication of login. Whenever we are logging in to the servers with a common id it is asking like something " Enet your personal id and password" which has been created by UNIX admins previously.
Just curious how to achieve this... (1 Reply)
Discussion started by: Showdown
1 Replies
LEARN ABOUT DEBIAN
getuid
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().
NOTES
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.44 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)