Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: "Hanno Böck" <hanno@g.o>
Subject: How to force homedir on enewuser
Date: Fri, 18 Jan 2008 03:46:58 +0100
Hi,

Following situation: Older mailman ebuilds used to set the mailman user home 
to /usr/local/mailman (which is obviously wrong).

Now with the new mailman ebuild, various directories are configurable.

The mailman user is created with the enewuser macro. Now, the problem is that 
enewuser just exits with zero if the user already exists. Thus the old 
homedir is kept.

What is the correct way to handle this? I'd suggest that enewuser might get 
some "force"-parameter that tells it to delete and recreate the user if it 
already exists. Thoughts?

(If noone comes around with a better idea, I'll open a bug with a feature 
request within a few days)

-- 
Hanno Böck		Blog:   http://www.hboeck.de/
GPG: 3DBD3B20		Jabber: hanno@...
Attachment:
signature.asc (This is a digitally signed message part.)
Replies:
Re: How to force homedir on enewuser
-- Marius Mauch
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Upcoming Infra maintenance/downtimes: anon{cvs,svn,git}, archives, bouncer, overlays
Next by thread:
Re: How to force homedir on enewuser
Previous by date:
Re: Re: Seeking questions for a user survey
Next by date:
Re: How to force homedir on enewuser


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.