Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PTS_SOURCE(1)		     AFS Command Reference		 PTS_SOURCE(1)

NAME
       pts_source - Read pts commands from a file

SYNOPSIS
       pts source [-file] <file	name> [-cell] <cell name>
	  [-noauth] [-localauth] [-force]

       pts so [-f] <file name> [-c] <cell name>
	  [-n] [-l] [-f]

DESCRIPTION
       The pts source runs commands from a file	as if they were	typed in pts
       interactive mode. The command can be run	from the command line or
       interactively.

CAUTIONS
       Prior to	OpenAFS	1.4.5 and OpenAFS 1.5.23, the pts source command was
       only available on Unix or Linux and when	OpenAFS	was compiled with the
       supergroups option (disabled by default).  As of	OpenAFS	1.4.5 and
       1.5.23, it is always available.

OPTIONS
       pts source takes	the following options:

       -cell <cell name>
	   Names the cell in which to run the command. For more	details, see
	   pts(1).

       -force
	   Enables the command to continue executing as	far as possible	when
	   errors or other problems occur, rather than halting execution at
	   the first error.

       -help
	   Prints the online help for this command. All	other valid options
	   are ignored.

       -localauth
	   Constructs a	server ticket using a key from the local
	   /usr/local/etc/openafs/server/KeyFile file. Do not combine this
	   flag	with the -cell or -noauth options. For more details, see
	   pts(1).

       -noauth
	   Assigns the unprivileged identity anonymous to the issuer. For more
	   details, see	pts(1).

OUTPUT
       This command shows the output of	each command in	the file as if it were
       run normally.

EXAMPLES
       Here is an example of using pts source in a pts interactive session:

	  % echo examine admin > /tmp/commands.txt
	  % pts	interactive
	  pts> source /tmp/commands.txt
	  Name:	admin, id: 1, owner: system:administrators, creator: anonymous,
	    membership:	2, flags: S----, group quota: 20.
	  pts> quit
	  %

SEE ALSO
       pts(1), pts_interactive(1), pts_quit(1),	pts_sleep(1)

COPYRIGHT
       Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>

       This documentation is covered by	the BSD	License	as written in the
       doc/LICENSE file. This man page was written by Jason Edgecombe for
       OpenAFS.

OpenAFS				  2016-12-15			 PTS_SOURCE(1)

NAME | SYNOPSIS | DESCRIPTION | CAUTIONS | OPTIONS | OUTPUT | EXAMPLES | SEE ALSO | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=pts_source&sektion=1&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help