01-16-2008
I agree with the comment about finding a position where you can do Unix plus other stuff. I started with a help desk position where I did Windows, Netware, OS/2, and Unix all. Since I liked Unix and knew it best of all the help desk guys I was able to work my way into a Unix admin position after a while.
Also, check out The Practice of System and Network Administration by Limoncelli and Hogan. It has tons of material about finding sysadmin jobs and beign successful once you have them.
5 More Discussions You Might Find Interesting
1. What is on Your Mind?
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
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
: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
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
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
LEARN ABOUT FREEBSD
getpeereid
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