On 2 Oct 1998, Jacques Gelinas writes:

> On Tue, 29 Sep 1998, Jeff Myers wrote:

>> I noticed that when I create a pop account for a virtual doamin it
>> creates a home directory in /vhome/mail.virtdom.com/user that
>> contains all the stuff I have put in /etc/skel. I have a bunch of
>> stuff in /etc/skel I only want to use for regular users and is
>> wasted space for virtual pop users.

>> Is there a way around this?

> No, but this is certainly a flaw. One thing I would like to see is a
> per group /etc/skel. This could be either a configuration in
> linuxconf, in the group definition, or simply a trickery where
> linuxconf would simply look for /etc/skel.group if it exist before
> looking for /etc/skel.

Sounds fine to me.

Meanwhile, though, I think there *is* a way around this issue!

I'd think one could use the postcreate script capability to clean up
the unwanted files from the new user's home dir... right?  That script
knows what group the user is in, and can take any appropriate action,
including the files in the users home dir and then replacing them with
files from /etc/skel.group if it exists.

I confess I've not tried it, but it ought to work.

Jonathan
--
Jonathan Marsden   | Internet: [EMAIL PROTECTED]  | Making electronic 
1849 N. Wabash Ave.| Phone: +1 (909) 794 1151   | communications work 
Redlands, CA 92374 | FAX:   +1 (909) 794 3016   | reliably for Christian 
USA                | http://www.xc.org/jonathan | missions worldwide 

---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]

Reply via email to