12-31-2008
This is the directory permissions for the slave
drwxr--r-- 6 ag32563 user 4096 Sep 23 11:10 slave
Does execute bit also needs to be set in order to make a copy?I thought read permissions are sufficient to make a copy from one user to another user.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I am trying to access the remote redhat linux server from a windows 2000 machine thro ftp, but i am getting the error ie connection timed out. FTP service is running on the server. since ftp is working locally. And also i can able to ping to remote server also. Still i am getting... (1 Reply)
Discussion started by: bache_gowda
1 Replies
2. Cybersecurity
Hi! I have a website, and it's been down for a long time now, because MySQL died (www.3dkingdom.org). I need someone who can get me the root password of the server (I will find someone to take care of the MySQL database, because there is about 20 sites there and none of them have MySQL databases... (6 Replies)
Discussion started by: _hp_
6 Replies
3. Shell Programming and Scripting
Hi
I have users A and B in UNIX system both are not having root priveleges.
User A has written a script file where it connects to database and uses a logfile directed to the path in directory of USER B.
I copied the script into USER B directory and tried to run the script.
Its giving... (3 Replies)
Discussion started by: skyineyes
3 Replies
4. Shell Programming and Scripting
hi guys,
I am using the following code in order to access a database.
#!/usr/bin/perl
print "READ DATA FROM DATABASE\n";
use DBI;
use strict;
#use DBD::Oracle;
my $user='reassure';
my $pass='R3Assur3';
#my $dsn="dbi:Oracle:orcl";
my $dsn='dbi:Oracle:cobscs.world';
my $dbh =... (1 Reply)
Discussion started by: chriss_58
1 Replies
5. Red Hat
Hi dear all
When i try to connect to an ftp site it shows the following error
"An FTP authentication failure occurred while trying to retrieve the URL: ftp://xyz.org/
Squid sent the following FTP command:
PASS <yourpassword>
and then received this reply
User anonymous cannot log in"
I... (3 Replies)
Discussion started by: surfer24
3 Replies
6. Linux
I have 3 windows partitions (c,d,e) all of NTFS file system
i mounted them while installing open suse in /win/c,/win/d,/win/e
created a user other than "root" eg: "us1"
problem 1: by loggimg into linux by user "us1" iam unable to see files in mounted... (2 Replies)
Discussion started by: seshumohan
2 Replies
7. UNIX for Advanced & Expert Users
Dear Guru's,
I am being facing strange issue in UNIX.
My user name is shah and one more user name is appstest
I have a directory created by appstest user i.e.
/home/appstest/work
ls -ld /home/appstest/work
drwxrwxr-x 10 appstest apps 12288 Aug 06 23:41 /home/appstest/work
Now I... (1 Reply)
Discussion started by: shahnazurs
1 Replies
8. Shell Programming and Scripting
hi all, its me again!!! i've requirement like this:
i want to create a file & an array with its name having the filename as its substring. here is the test script!!
#!/bin/bash
touch $1
declare -a $1_rec;
echo -n "$1_rec: "
read $1_rec;
echo $];
now see output:
this is when i enter... (7 Replies)
Discussion started by: tprayush
7 Replies
9. Solaris
Hi,
If i changed my password then i can able to enter into linux box. After some time if i tried then i can not able to enter into the same box.
I have tried lot of times, But it is not resolved yet.
I got below error message
Error Message : Timeout before authentication for... (4 Replies)
Discussion started by: Mani_apr08
4 Replies
10. Post Here to Contact Site Administrators and Moderators
Every time that i quit from the forum despite i'm 100 % sure that i put the right login (i make a copy and past of the correct data) i obtain always the message that the login is wrong so i must always reset it. :wall:
Could be a bug?
I use a 64 bit linux system. (4 Replies)
Discussion started by: alexscript
4 Replies
LEARN ABOUT OPENSOLARIS
pts
pts(7D) Devices pts(7D)
NAME
pts - STREAMS pseudo-tty slave driver
DESCRIPTION
The pseudo-tty subsystem simulates a terminal connection, where the master side represents the terminal and the slave represents the user
process's special device end point. In order to use the pseudo-tty subsystem, a node for the master side driver /dev/ptmx and N nodes for
the slave driver (N is determined at installation time) must be installed. The names of the slave devices are /dev/pts/M where M has the
values 0 through N-1. When the master device is opened, the corresponding slave device is automatically locked out. No user may open that
slave device until its permissions are adjusted and the device unlocked by calling functions grantpt(3C) and unlockpt(3C). The user can
then invoke the open system call with the name that is returned by the ptsname(3C) function. See the example below.
Only one open is allowed on a master device. Multiple opens are allowed on the slave device. After both the master and slave have been
opened, the user has two file descriptors which are end points of a full duplex connection composed of two streams automatically connected
at the master and slave drivers. The user may then push modules onto either side of the stream pair. The user needs to push the ptem(7M)
and ldterm(7M) modules onto the slave side of the pseudo-terminal subsystem to get terminal semantics.
The master and slave drivers pass all messages to their adjacent queues. Only the M_FLUSH needs some processing. Because the read queue of
one side is connected to the write queue of the other, the FLUSHR flag is changed to the FLUSHW flag and vice versa. When the master device
is closed an M_HANGUP message is sent to the slave device which will render the device unusable. The process on the slave side gets the
errno EIO when attempting to write on that stream but it will be able to read any data remaining on the stream head read queue. When all
the data has been read, read returns 0 indicating that the stream can no longer be used. On the last close of the slave device, a 0-length
message is sent to the master device. When the application on the master side issues a read() or getmsg() and 0 is returned, the user of
the master device decides whether to issue a close() that dismantles the pseudo-terminal subsystem. If the master device is not closed, the
pseudo-tty subsystem will be available to another user to open the slave device. Since 0-length messages are used to indicate that the
process on the slave side has closed and should be interpreted that way by the process on the master side, applications on the slave side
should not write 0-length messages. If that occurs, the write returns 0, and the 0-length message is discarded by the ptem module.
The standard STREAMS system calls can access the pseudo-tty devices. The slave devices support the O_NDELAY and O_NONBLOCK flags.
EXAMPLES
int fdm fds;
char *slavename;
extern char *ptsname();
fdm = open("/dev/ptmx", O_RDWR); /* open master */
grantpt(fdm); /* change permission of slave */
unlockpt(fdm); /* unlock slave */
slavename = ptsname(fdm); /* get name of slave */
fds = open(slavename, O_RDWR); /* open slave */
ioctl(fds, I_PUSH, "ptem"); /* push ptem */
ioctl(fds, I_PUSH, "ldterm"); /* push ldterm*/
FILES
/dev/ptmx master clone device
/dev/pts/M slave devices (M = 0 -> N-1)
SEE ALSO
grantpt(3C), ptsname(3C), unlockpt(3C), ldterm(7M), ptm(7D), ptem(7M)
STREAMS Programming Guide
SunOS 5.11 21 Aug 1992 pts(7D)