Sponsored Content
Full Discussion: unix knowledge
Top Forums UNIX for Dummies Questions & Answers unix knowledge Post 36735 by auswipe on Tuesday 3rd of June 2003 06:42:36 PM
Old 06-03-2003
Re: unix knowledge

Quote:
Originally posted by dtooth71
I am a new Unix user looking for ways, other than time, to become an effective unix administrator. All sugestions welcome.
Thanks
Sorry. Time in the main ingredient. Time and effort.
 

9 More Discussions You Might Find Interesting

1. IP Networking

Any knowledge for sysctl?

HI folks. I am developing a protocol and I need to bind to an IP address that is not configured to my machine. The problem is with bind(). The sysctl system call seamed to overcome the problem of bind if you set the proc/sys/net/ipv4/ip_nonlocal_bind flag. Although I tryed to set the flag either... (7 Replies)
Discussion started by: developer
7 Replies

2. UNIX for Dummies Questions & Answers

How to get the knowledge in UNIX? Suggest me . Please.

Hai, friends. In one exam which i have to attend in the month of january, they asked "knowledge of c and unix are required" . I am beginner to unix, even i dont know from where to start . Please suggest me what to do , to get through the exam and interview. I have already downloaded... (2 Replies)
Discussion started by: nani_ynm
2 Replies

3. AIX

knowledge

Dear All Kindly provide me with a difference between hdiskpower and hdisk regards (2 Replies)
Discussion started by: magasem
2 Replies

4. UNIX for Dummies Questions & Answers

Unix book which gives in depth canceptual knowledge

Hi, I am a java professional working with a MNC as a Senior Software Engineer.I have done my masters in computer scinece. I always had liking for UNIX . I had UNIX as one of the subject for my masters but could not pursue it as needed a job at that time . But now I would like to parsue my... (1 Reply)
Discussion started by: amigia
1 Replies

5. UNIX for Dummies Questions & Answers

Unix knowledge / Shell scripting

I'm looking to buy some books to help me learn more about Unix and shell scripting? I have been looking at books i.e. Classic Shell Scripting,Unix power tools Just don't know which is the best outthere for me i know the basics but don't want to buy books that will be no good I currently am... (4 Replies)
Discussion started by: Pablo_beezo
4 Replies

6. Shell Programming and Scripting

Knowledge

Can somebody explain me the following part within a awk command: awk '{for(i=1;i<=NF;i++) if ($i=="mm")c++} Can somebody please explain me the part (i=1;i<=NF;i++) ????:D:D:D:D (1 Reply)
Discussion started by: RubinPat
1 Replies

7. Linux

Anyone with Blitz PHP knowledge

Blitz PHP I am having trouble installing Blitz PHP blitz-0.6.10.tar.gz Here is what i did: cd /tmp wget blitz-0.6.10.tar.gz tar zxfv blitz-0.6.10.tar.gz cd blitz-0.6.10 And then I tried ./configure Output: -bash: No such file in directory make Output: No targets in the... (1 Reply)
Discussion started by: kendel
1 Replies

8. Shell Programming and Scripting

programming knowledge

Hi Friends, I know very well the basic commands of Unix but i want to concentrate on unix shell programming can you please how to learn and suggest me how to become comfortable level. Thanks in advance (1 Reply)
Discussion started by: victory
1 Replies

9. UNIX for Dummies Questions & Answers

Practice using Unix and lack of knowledge

So I have a Networking class at my university that involves learning the basic commands of unix (i.e. Chmod, cat, cp, ls, mv, rm, mkdir, rmdir, pwd, etc) and my professor had us download and install Solaris and PuTTY as a means of...I suppose practicing using/executing commands. However due to... (7 Replies)
Discussion started by: bo74
7 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 08:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy