From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075322406386.tru64-unix-managers.marc@archive.invalid> From: "Cenon B.C. Marana Jr." Date: Tue, 01 Aug 1995 11:32:52 +0000 To: tru64-unix-managers Subject: SUMMARY: cd, .profiles and tcpwrappers.. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075322406386 Thanks to: Jim Belonis Ross Alexander Khalid Paden > 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 :)