Bug 82032 - New port: security/pam_mkhomedir - a PAM module to create home directories automatically
Summary: New port: security/pam_mkhomedir - a PAM module to create home directories au...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: niels
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-08 15:00 UTC by Martin Mersberger
Modified: 2005-06-22 10:10 UTC (History)
0 users

See Also:


Attachments
file.shar (2.68 KB, text/plain)
2005-06-08 15:00 UTC, Martin Mersberger
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mersberger 2005-06-08 15:00:25 UTC
This is a PAM module which will create the $HOME for the user authenticated,
if it's not already there. It also copies over files from a skel directory
( default /usr/share/skel ) and can set the permission of the newly created
$HOME to a value of your choise
Comment 1 niels freebsd_committer freebsd_triage 2005-06-09 08:54:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->niels



Thanks for the submission, I'll start processing it.
Comment 2 niels freebsd_committer freebsd_triage 2005-06-09 09:21:10 UTC
State Changed
From-To: open->feedback


Hi Martin, 

On my 4.11-STABLE I  get the following: 

===>  Extracting for pam_mkhomedir-0.1 
=> Checksum OK for pam_mkhomedir-0.1.tar.gz. 
===>  Patching for pam_mkhomedir-0.1 
===>  Configuring for pam_mkhomedir-0.1 
===>  Building for pam_mkhomedir-0.1 
Warning: Object directory not changed from original /disk2/FreeBSD/ports/security/pam_mkhomedir/work 
/pam_mkhomedir-0.1 
cc -O -pipe    -c pam_mkhomedir.c -o pam_mkhomedir.o 
pam_mkhomedir.c: In function `copymkdir': 
pam_mkhomedir.c:80: `options' undeclared (first use in this function) 
pam_mkhomedir.c:80: (Each undeclared identifier is reported only once 
pam_mkhomedir.c:80: for each function it appears in.) 
pam_mkhomedir.c: In function `pam_sm_open_session': 
pam_mkhomedir.c:165: syntax error before `int' 
pam_mkhomedir.c:179: `skeldir' undeclared (first use in this function) 
pam_mkhomedir.c:180: `modeval' undeclared (first use in this function) 
pam_mkhomedir.c:182: `i' undeclared (first use in this function) 
pam_mkhomedir.c:183: `buff' undeclared (first use in this function) 
pam_mkhomedir.c:184: `res' undeclared (first use in this function) 
pam_mkhomedir.c:186: `skel' undeclared (first use in this function) 
pam_mkhomedir.c:189: `options' undeclared (first use in this function) 
pam_mkhomedir.c:198: `modef' undeclared (first use in this function) 
*** Error code 1 

Stop in /disk2/FreeBSD/ports/security/pam_mkhomedir/work/pam_mkhomedir-0.1. 
*** Error code 1 

Stop in /disk2/FreeBSD/ports/security/pam_mkhomedir. 
su-2.05b#  

It builds just fine on a 5.x.  Any chance you have looked into 
getting it working on a 4.x box ? 

Niels
Comment 3 niels freebsd_committer freebsd_triage 2005-06-13 15:17:20 UTC
State Changed
From-To: feedback->analyzed




Martin,  

Do you want to be the MAINTAINER ? We try to 
avoid committing ports that have the MAINTAINER 
set to ports@FreeBSD.org. 

Thanks ! 

Niels
Comment 4 niels freebsd_committer freebsd_triage 2005-06-22 10:09:48 UTC
State Changed
From-To: analyzed->closed

The port is committed 

Thanks again, 

Niels