tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Cenon B.C. Marana Jr." <bonn () durian ! usc ! edu ! ph>
To: tru64-unix-managers
Subject: SUMMARY: cd, .profiles and tcpwrappers..
Date: Tue, 01 Aug 1995 11:32:52 +0000	[thread overview]
Message-ID: <96075322406386.tru64-unix-managers.marc@archive.invalid> (raw)


Thanks to:
Jim Belonis <belonis@dirac.phys.washington.edu>
Ross Alexander <rwa@cs.athabascau.ca>
Khalid Paden <khalid@FNAL.FNAL.GOV>


> 1.) Is there any way to tinker with the cd (change directory) command so that
> users who would try to execute it CANNOT go to other directories  --they 
> would be contained in their corresponding home directories but CAN move 
> to the directories that they have made WITHIN their home directories?

Jim Belonis & Ross Alexander suggested chroot
---------------------------------------------
Investigate the chroot() subroutine call.
It is used by anonymous ftp to set a new 'root' directory
which prevents people from cd'ing outside of a particular directory tree.
Unfortunately, it also requires all executables to be within that
directory tree, so you have to build a facsimile /bin /lib etc.
containing ALL the programs you want runnable.


Khalid Paden comments:
---------------------
Try "sh -r", "Rsh", or "ksh -r" for restricted shells.


> 2.) Have been trying to establish a series of commands to be executed upon
> login for a particular group of users. Is it possible to execute these
> series of commands saved into a file that will be accessible to such users
> upon login OTHER than messing their .profiles?

Ross Alexander suggests:
-----------------------
ksh has the idea of a system default login or startup file; I suppose
you could hack an equivalent idea into csh (the sources are easy to
get).


> 3.) Anybody successfully compiled tcpwrappers on an DEC UNIX with the 
> pre-login message features? Have enabled the corresponding features at 
> the Makefile such as STYLE   = -DPROCESS_OPTIONS that would 
> support/enable the language extensions, made the corresponding filenames 
> for the banner file, yet it seems that it still ain't working..

No response as this summary is done has been received

Bonn
:)

                 reply	other threads:[~1995-08-01 11:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox