*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> newsess (1)              
Title
Content
Arch
Section
 

Contents


newsess(1)							    newsess(1)


NAME    [Toc]    [Back]

     newsess - start a new array session

SYNOPSIS    [Toc]    [Back]

     newsess [-l] [-g] [-h ASH]	[-p project] [[-s] shell-args]

DESCRIPTION    [Toc]    [Back]

     The newsess command starts	a new array session.  The user remains logged
     in	and the	current	directory is unchanged.	 If the	change is successful,
     the user will be given a new shell.  The original shell, and any
     processes it may have had running,	will remain alive and associated with
     the original array	session.  Thus,	exiting	the new	shell will return the
     user to the original shell	and original array session.

     By	default, the new array session will be a global	array session (see
     array_sessions(5) for more	information on this subject).  Some systems
     are capable of generating their own global	array session handles
     internally, while others must request a global handle from	an array
     services daemon.  If the -l option	is specified, the system will not try
     to	contact	an array services daemon; this will result in a	purely local
     array session handle on systems that do not internally generate global
     handles.  On the other hand, the -g option	will force the system to
     obtain a global array session handle from an array	services daemon, even
     if	the system could have generated	a global handle	internally.  In	this
     case, newsess will	fail if	an array services daemon is not	available.
     The -g and	-l options are mutually	exclusive.

     The -p option can be used to set the new array session's project to
     project.  By default, the new array session will belong to	the same
     project as	the current array session.  If the user	is not the superuser,
     then the user must	be authorized for project in the /etc/project file.

     The superuser may force a specific	array session handle to	be used	by
     specifying	the -h ASH option.  An error will occur	if ASH is already in
     use by another array session.  The	-g and -h options are mutually
     exclusive.

     The first unrecognized command line argument, and all remaining arguments
     that follow it, will be passed to the new shell as	arguments.  The
     newsess option -s can be used to force the	rest of	the command line to be
     treated as	shell arguments.  This is useful if it is necessary to pass an
     option to the shell that also happens to be a valid newsess option.  When
     using shells like sh(1), an argument of the form -c string	executes
     string via	the shell and an argument of -r	will give the user a
     restricted	shell.

NOTES    [Toc]    [Back]

     The array services	daemon (arrayd(1M)) must be running on the local
     machine in	order to start a new global array session.  It is not required
     for a new local array session.





									Page 1






newsess(1)							    newsess(1)


SEE ALSO    [Toc]    [Back]

      
      
     newproj(1), newarraysess(2), array_services(5), array_sessions(5).


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
login HP-UX sign on; start terminal session
setash IRIX set array session handle
getash IRIX get array session handle
arsop IRIX perform an operation on an array session
akill IRIX terminate a process or array session
sid IRIX print the current array session handle and/or project ID
unpack IRIX Unpacks an array of rank one into an array under control of a mask
startnfs IRIX start nfs deamon.
execppp IRIX Start a PPP call.
lpsched HP-UX start the LP request scheduler,
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service