[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Does the RaQ XTR support suid perl?



> I came upon two additional problems. I couldn't add a directory to my
> path by creating a .bashrc file as specified in the knowledgebase ref#
> 020521-000001 

Suggest you find & digest the 'Fish Book': O'Reilly & Associate's
"Learning the Bash Shell" by Newham and Rosenblatt if you are
unfamiliar with bash.  If (as is common) I am mistaken, then 
please accept my apologies and email me (tdunnATdunnclanDOTdyndnsDOTcom)
with the particulars.

> I can't figure out how to retrieve and printthe
> embedded documentation from in the wrapsuid.pl program.

It's written in nroff (why not pod?).  The following will extract the
(scant) documentation embedded in the code:

	nroff -man wrapsuid.pl | more

What it contains (for the curiousity of other readers) is brief:

	User Commands                                       SUIDSCRIPT(1)



	NAME
	     wrapsuid - puts a compiled C wrapper around a setuid or set-
	     gid script

	SYNOPSIS
	     wrapsuid [dirlist]

	DESCRIPTION
	     Wrapsuid creates a small C program to execute a script  with
	     setuid or setgid privileges without having to set the setuid
	     or setgid bit on the script, which is a security problem  on
	     many  machines.   Specify  the  list of directories or files
	     that you wish to process.  The names must be absolute  path-
	     names.  With no arguments it will attempt to process all the
	     local directories for this machine.  The scripts to be  pro-
	     cessed must have the setuid or setgid bit set.  The wrapsuid
	     program will delete the bits and set them on the wrapper.

	     Non-superusers may only process their own files.

	ENVIRONMENT
	     No environment variables are used.

	FILES
	     None.

	AUTHOR
	     Larry Wall

tim 

-- 
Mechanical Engineers build weapons.  Civil Engineers build targets.