[96098] in RedHat Linux List
Virtualising a Linux system
daemon@ATHENA.MIT.EDU (Simon Garner)
Fri Oct 23 23:56:51 1998
From: "Simon Garner" <sgarner@expio.co.nz>
To: <redhat-list@redhat.com>
Date: Sat, 24 Oct 1998 16:55:22 +1300
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Hi all,
I would be indebted if someone could help me with the following
problem.
I'm trying to set up a "virtual" server environment, for hosting
web-sites. Each user gets their own IP, shell account, Apache,
and so on.
I've run against a couple of obstacles:
a) how can I stop users from seeing other users' processes with
the 'ps aux' command? They must still be able to see their own
processes, however.
b) how can I make it so that when a user logs in with their shell
account and runs a command like 'uname -n' (which prints the
current hostname), it prints their own domain name? E.g. if we're
hosting their domain name "foo.com", I want them to see "foo.com"
as their hostname in the shell.
c) how can I limit "su" access to a certain group? Obviously I can
do it with file permissions but that's easy to get around. I've seen
a much better way on another system, where executing "su" as
anyone outside the "admin" group gives a message "you must be
in the admin group to use su". Any ideas how it's done?
Hope somebody can give me a hand. Look forward to a response...
Cheers,
Simon Garner.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.