I am currently using Samba to access remote Unix file systems from Windows. However, it is slow, and I presume insecure in the sense that file contents are transmitted unencrypted. I also wonder if passwords are transmitted in plain text in this protocol or not. For these reasons I am looking for... (2 Replies)
Hello Gurus,
Naif is implemented for only for port 21 for few windows servers.
I have made my linux 5.1 as my FTP server.
After installing vsftpd i could ftp from other linux server.
linux to linux (ftp server)
But same when i ftp from other windows server which only port 21 is enabled.... (0 Replies)
Hello Gurus,
Naif is implemented for only for port 21 for few windows servers.
I have made my linux 5.1 as my FTP server.
After installing vsftpd i could ftp from other linux server.
linux to linux (ftp server)
But same when i ftp from other windows server which only port 21 is enabled.... (2 Replies)
hi,
Im using the following code for FTP
#!/usr/bin/ksh
ftp -v -n "10.29.45.11" << cmd
user "mahesva" "mahesva123"
get rtl.tar
quit
cmd
Below is the log when i run the above code
**********************************
Connected to 10.29.45.11.
220 (vsFTPd 2.0.1)
530 Please login with USER... (20 Replies)
I am running a RHEL5 box and I have xdmcp up and running. I want the hostname of this box showing up only in the xdmcp choosers of certain specific systems, and in RHEL5 using gdm, it appears the only way to prevent the name from appearing in all xdmcp choosers is to use the hosts.allow file. This... (0 Replies)
Hi Team
we have created a DNS server at RHEL6.2 environment in 10.20.203.x/24 network.
Everything is going well on linux client as nslookup, ping by host etc in entire subnet. We are getting problem in windows client as nslookup working as well but not ping. all the firewall is disabled and... (5 Replies)
Discussion started by: boby.kumar
5 Replies
LEARN ABOUT PHP
posix_setuid
POSIX_SETUID(3) 1 POSIX_SETUID(3)posix_setuid - Set the UID of the current processSYNOPSIS
bool posix_setuid (int $uid)
DESCRIPTION
Set the real user ID of the current process. This is a privileged function that needs appropriate privileges (usually root) on the system
to be able to perform this function.
PARAMETERS
o $uid
- The user id.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
posix_setuid(3) example
This example will show the current user id and then set it to a different value.
<?php
echo posix_getuid()."
"; //10001
echo posix_geteuid()."
"; //10001
posix_setuid(10000);
echo posix_getuid()."
"; //10000
echo posix_geteuid()."
"; //10000
?>
SEE ALSO posix_setgid(3), posix_seteuid(3), posix_getuid(3), posix_geteuid(3).
PHP Documentation Group POSIX_SETUID(3)