9 More Discussions You Might Find Interesting
1. Solaris
I've got a Solaris 10 server that got a corrupted root filesystem. After being forced to run fsck against it, the OS is now up and the filesystem read/writable.
However, ssh from any account other than root fails with the following error:
PTY allocation request failed on channel 0
On the... (0 Replies)
Discussion started by: michaeltravisuk
0 Replies
2. Solaris
Hi,
i got the following error when i tried to access the cygwin x server from a windows XP PC.
"xdmcp fatal error session failed session 23 failed for display"
Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies
3. Solaris
what is the difference between desktop session and console session in solaris
as i am wondering we use option -text for the former and -nowin for the later (1 Reply)
Discussion started by: kishanreddy
1 Replies
4. Solaris
I am not able to login in gnome session and java session in Sun solaris 9& 10 respectively through xmanager as a nis user, I am able to login in common desktop , but gnome session its not allowing , when I have given login credentials, its coming back to login screen, what shoul I do to allow nis... (0 Replies)
Discussion started by: durgaprasadr13
0 Replies
5. Shell Programming and Scripting
Hi,
Apologies if anyone has read my recent post on the same subject in the Linux forum, just thought actually the solution might more likely come from scripting.
Essentially, I am trying to restrict access to directories based on the user's name AND their location on a session-by-session... (3 Replies)
Discussion started by: en7smb
3 Replies
6. UNIX for Advanced & Expert Users
Hi,
on a Linux RED HAT I issue the following to mount a shared filesystem on a Win server 2003 and it fails :
# smbmount //172.16.0.42/eb_depot /mnt/eb_depot -o username=domaine/Administrateur rw
Password:
30494: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection... (0 Replies)
Discussion started by: big123456
0 Replies
7. AIX
I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it?
I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame.
Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies
8. Shell Programming and Scripting
Hi there.
How do I make the DB connection see the parameter variables passed to the unix script ? The code snippet below isn't working properly.
sqlplus << EOF
user1@db1/pass1
BEGIN
PACKAGE1.perform_updates($1,$2,$3);
END;
EOF
Thanks in advance,
Abrahao. (2 Replies)
Discussion started by: 435 Gavea
2 Replies
9. UNIX for Dummies Questions & Answers
I have the following shell script to map a drive to a windows machine:
echo Enter password:
stty -echo
read passwd
stty echo
mount -t smbfs -ousername=myusername,password=$passwd //192.168.2.5/sharename /mnt/mountname
It works fine and the share mounts, but for some reason I get this... (4 Replies)
Discussion started by: Spetnik
4 Replies
UNSHARE(1) User Manuals UNSHARE(1)
NAME
unshare - run program with some namespaces unshared from parent
SYNOPSIS
unshare [options] program [arguments]
DESCRIPTION
Unshares specified namespaces from parent process and then executes specified program. Unshareable namespaces are:
mount namespace
mounting and unmounting filesystems will not affect rest of the system (CLONE_NEWNS flag),
UTS namespace
setting hostname, domainname will not affect rest of the system (CLONE_NEWUTS flag),
IPC namespace
process will have independent namespace for System V message queues, semaphore sets and shared memory segments (CLONE_NEWIPC flag),
network namespace
process will have independent IPv4 and IPv6 stacks, IP routing tables, firewall rules, the /proc/net and /sys/class/net directory
trees, sockets etc. (CLONE_NEWNET flag).
See the clone(2) for exact semantics of the flags.
OPTIONS
-h, --help
Print a help message,
-m, --mount
Unshare the mount namespace,
-u, --uts
Unshare the UTC namespace,
-i, --ipc
Unshare the IPC namespace,
-n, --net
Unshare the network namespace.
NOTES
The unshare command drops potential privileges before executing the target program. This allows to setuid unshare.
SEE ALSO
unshare(2), clone(2)
BUGS
None known so far.
AUTHOR
Mikhail Gusarov <dottedmag@dottedmag.net>
AVAILABILITY
The unshare command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
Linux OCTOBER 2008 UNSHARE(1)