Solaris Unix vs HP Unix, Could someone point out the major differences.
I have been performing Support to Solaris Unix for about 6 years, now I am interviewing for a HP Unix position. Could someone point out the major differences? Should it be an easy transition?
Thanks (1 Reply)
Aside from the normal Linux distros, OS X, and the BSDs, what other forms of UNIX are there? I want to try one on a very old 75mhz box I have. Thanks in advance. (3 Replies)
With so many diffrent flavors out there, how is a person soposed to know what to go with? I'm not asking for specific discussion here in this forum, but I would like to see various pages and articles dicsussing the pluses and minuses of various unix/linux OS's. I have been searching various... (1 Reply)
I want to maintain a repository to track versions of common daemons running on several platforms such as apache, ssh, mysql; so that i can asociate vulnerabilities for each version of sw, Does anyone know if there is a project about this requirement? I search for projects in sourceforge, freshmeat... (2 Replies)
Hello
we are using java 1.2 in our shell / env
it is also set in the main JAVA_HOME env var ,
but we have also java 1.4 installed , now we need to use new application that uses only java1.4
is there any way to point this specific application to use java 1.4 without changing the global... (2 Replies)
Hi all:
I was just wondering if someone could tell me what versions of UNIX are available to public? I'm aware of all the available distro's for Linux e.g. Debain, SuSe, RedHat, etc ... However you never really here much about UNIX distro's! Is UNIX BDS a common one in use?
Thanks
Oliver (4 Replies)
Hello Experts,
I want to merge my local file (File1) with the changes in remote server (File1). For Example:
File1 contents are... (file @ remote server)
ABC
<blankLine>
GHI
<EOF>
I, as USER#1, have updated the contents of File1 in my local as...
ABC
DEFGhi
<blankLine>
JKL... (2 Replies)
Hello, I am very new at this and would like to know how many versions of Unix there are and all of the different versions of unix. (3 Replies)
Discussion started by: rosanna azani
3 Replies
LEARN ABOUT OSF1
setuid
setuid(2) System Calls Manual setuid(2)NAME
setuid - Sets the user ID
SYNOPSIS
#include <unistd.h>
int setuid (
uid_t user_id );
Application developers may want to specify an #include statement for <sys/types.h> before the one for <unistd.h> if programs are being
developed for multiple platforms. The additional #include statement is not required on Tru64 UNIX systems or by ISO or X/Open standards,
but may be required on other vendors' systems that conform to these standards.
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
setuid(): XSH5.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
PARAMETERS
Specifies the new user ID.
DESCRIPTION
The setuid() function sets the real user ID, effective user ID, and the saved set user ID to the user_id parameter.
To change the real user ID, the effective user ID, and the saved set user ID, the calling process must have superuser privilege. If the
process does not have appropriate privilege, but the user_id parameter is equal to the real user ID or the saved set user ID, the setuid()
function sets the effective user ID to the user_id parameter. The real user ID and saved set user ID remain unchanged.
RETURN VALUES
Upon successful completion, the setuid() function returns a value of 0 (zero). Otherwise, the function returns a value of -1 and sets
errno to indicate the error.
ERRORS
The setuid() function sets errno to the specified values for the following conditions: [Tru64 UNIX] The process is attempting an operation
that would exceeds a system limit, such as the number of tasks or threads allowed for a user ID. The value of the user_id parameter is
invalid. The process does not have superuser privileges, and the user_id parameter does not match the real user ID or the saved set user
ID.
RELATED INFORMATION
Functions: exec(2), getuid(2), setgid(2), setreuid(2)
Standards: standards(5) delim off
setuid(2)