create home directories via PAM on the fly
Closed, ResolvedPublic


We need to handle home dir creation for newly created users,
this must be done on the fly on the first login

Propose to do so via PAM module


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Implementation mistake
syncer created this task.May 23 2017, 12:00 PM

Can You please elaborate on this, or create an example?

For users not added manually (e.g. via Radius or later TACACS+)
wee need to create home directories on the fly

syncer moved this task from VyOS 1.2.0-rc1 to Need Triage on the VyOS 1.2.x board.Jul 25 2017, 1:36 AM
syncer edited projects, added VyOS 1.2.x; removed VyOS 1.2.x (VyOS 1.2.0-rc1).
syncer assigned this task to UnicronNL.Aug 29 2017, 11:12 AM

To implement remote auth sources we will need to deal with logins
it seems that we need to handle home folder creation for users that doesn´t exist in config
it´s kind of similar how active directory integration work on linux, where home folder for Active Directory user will be created on first login
Only difference that we not limited to AD and will need same for radius/tacacs+/ad
this will allow us start implement remote auth mechanisms