09-10-2013
the value there is 10000.
this is not the issue
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello All,
I would like to know if anyone has done or has information on how to start a workstation up form another remote station. For example I am sitting at station A and I want to start up a session on station B, setting display to output on station B "0.0". Here is the tricky part station... (2 Replies)
Discussion started by: larry
2 Replies
2. AIX
I am trying to log on and get an error "3004-304 You are not allowed to login at this time.". This happens with both "root" and "admin" (the only other user ID on the system). System console or telnet session, doesn't matter. When I reboot the system, which I can only do with the power button since... (0 Replies)
Discussion started by: dino_bekas
0 Replies
3. AIX
In AIX v5.2 is there a way to restrict the number of telnet sessions for a particular user ? Say, i want restrict the number of simultaneous telnet session for a particular user to be 3. How do i achieve this.
Appreicate your help (1 Reply)
Discussion started by: rramanuj
1 Replies
4. AIX
Guys
I have an AIX 5.3 box.I am getting following messages if i try to switch to any non root user.
bash-3.00# su - sys
3004-505 Cannot set process environment.
bash-3.00# su - daemon
3004-505 Cannot set process environment.
bash-3.00# su - adm
3004-505 Cannot set process environment.... (4 Replies)
Discussion started by: ak835
4 Replies
5. AIX
hello, I am trying to log on and get an error "3004-304 You are not allowed to login at this time.".
The server is in production level, works as a cluster under hacmp, the other server took the services but I cannot log into the first one.
Please help me because I need to solve the problem as... (2 Replies)
Discussion started by: andwhat
2 Replies
6. Linux
Hi,
I am unable to login with root for more than 2 sessions. Plz help any thing need to updated?
Suresh (2 Replies)
Discussion started by: suresh3566
2 Replies
7. AIX
when all the users try to login using telnet they will counter the error 3004-031 . and they can not access the system . our application is sbglobus (temenos ) (6 Replies)
Discussion started by: thecobra151
6 Replies
8. UNIX for Beginners Questions & Answers
Hello,
What will be the effect of environment variable, when mulitple sessions are opened by same login?
Following code snippet is part of a shell script.
Environment : HP-UX B.11.31 U ia64
For Example
EXECUTION_DIR=`pwd`/
EXECUTION_DIR_RT=${EXECUTION_DIR}RT/
export... (4 Replies)
Discussion started by: Siva SQL
4 Replies
LEARN ABOUT PHP
posix_geteuid
POSIX_GETEUID(3) 1 POSIX_GETEUID(3)
posix_geteuid - Return the effective user ID of the current process
SYNOPSIS
int posix_geteuid (void )
DESCRIPTION
Return the numeric effective user ID of the current process. See also posix_getpwuid(3) for information on how to convert this into a use-
able username.
RETURN VALUES
Returns the user id, as an integer
EXAMPLES
Example #1
posix_geteuid(3) example
This example will show the current user id then set the effective user id to a separate id using posix_seteuid(3), then show the
difference between the real id and the effective id.
<?php
echo posix_getuid()."
"; //10001
echo posix_geteuid()."
"; //10001
posix_seteuid(10000);
echo posix_getuid()."
"; //10001
echo posix_geteuid()."
"; //10000
?>
SEE ALSO
posix_getpwuid(3), posix_getuid(3), posix_setuid(3), POSIX man page GETEUID(2).
PHP Documentation Group POSIX_GETEUID(3)