Sponsored Content
Full Discussion: UNIX starter role?
The Lounge What is on Your Mind? UNIX starter role? Post 302157820 by duallayer on Saturday 12th of January 2008 07:35:23 PM
Old 01-12-2008
Ironically, I would go for a Windows job at a company I knew had UNIX/LINUX environments also - it might be difficult landing a decent UNIX role without any previous experience.

Preferably a small company where you can get your hands on everything, not a huge corporation where you'll only get your hands on very specific areas.
 

5 More Discussions You Might Find Interesting

1. What is on Your Mind?

Role of AI in any OS

In any given operating system, generally how much of AI software is involved? Is it related to user-friendliness of OS? What is the future of strong AI? (3 Replies)
Discussion started by: MULTIVERSE
3 Replies

2. Solaris

Solaris Starter

I have got Sun Fire V120 for testing( just trying to install Solaris 10 on it). Just need to know how shall I get display on my normal monitor as I cannot see any compatible port?? Regards, (1 Reply)
Discussion started by: zaibee
1 Replies

3. Shell Programming and Scripting

Linux starter help needed

:confused: hi guys i'm helping out as a lab assistant and have been told to use a linux shell script to gather assignments from the students in the class I'm helping out in. They've been told to have their assignment in a certain folder in their accounts and I'm to gather them, only problem is I... (0 Replies)
Discussion started by: jaybee
0 Replies

4. AIX

for starter

I have a problem I got about 50 log files with some information, the info is not important. I would like to search only for specific info from the logs. I did find it. But i cannot see from where it comes can you help me I have used : cat *.log | grep "??????", but the log file too. Thanks... (3 Replies)
Discussion started by: perum
3 Replies

5. Solaris

Solaris Starter

hi everyone, Can anyone guide me with: How to start with the solaris, as i m new to this. (any material or any link or any start up book) Plz do needful as soon as possible.. Thanks. Hitesh T. (2 Replies)
Discussion started by: hi2_t
2 Replies
GETPEEREID(3)						   BSD Library Functions Manual 					     GETPEEREID(3)

NAME
getpeereid -- get the effective credentials of a UNIX-domain peer LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/types.h> #include <unistd.h> int getpeereid(int s, uid_t *euid, gid_t *egid); DESCRIPTION
The getpeereid() function returns the effective user and group IDs of the peer connected to a UNIX-domain socket. The argument s must be a UNIX-domain socket (unix(4)) of type SOCK_STREAM on which either connect(2) or listen(2) have been called. The effective used ID is placed in euid, and the effective group ID in egid. The credentials returned to the listen(2) caller are those of its peer at the time it called connect(2); the credentials returned to the connect(2) caller are those of its peer at the time it called listen(2). This mechanism is reliable; there is no way for either side to influence the credentials returned to its peer except by calling the appropriate system call (i.e., either connect(2) or listen(2)) under different effective credentials. One common use of this routine is for a UNIX-domain server to verify the credentials of its client. Likewise, the client can verify the cre- dentials of the server. IMPLEMENTATION NOTES
On FreeBSD, getpeereid() is implemented in terms of the LOCAL_PEERCRED unix(4) socket option. RETURN VALUES
The getpeereid() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indi- cate the error. ERRORS
The getpeereid() function fails if: [EBADF] The argument s is not a valid descriptor. [ENOTSOCK] The argument s is a file, not a socket. [ENOTCONN] The argument s does not refer to a socket on which connect(2) or listen(2) have been called. [EINVAL] The argument s does not refer to a socket of type SOCK_STREAM, or the kernel returned invalid data. SEE ALSO
connect(2), getpeername(2), getsockname(2), getsockopt(2), listen(2), unix(4) HISTORY
The getpeereid() function appeared in FreeBSD 4.6. BSD
July 15, 2001 BSD
All times are GMT -4. The time now is 03:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy