Advertisement

06.30.2008 at 06:59AM PDT, ID: 23526843
[x]
Attachment Details

Automatically adding user after successful login process

Asked by 11795902 in Linux Network Security, Linux Networking, Linux Administration

Tags:

I was wondering whether it was possible by any means to dynamically add needed passwd/shadow information for users who have successfully authenticated through a RADIUS or TACACS server (using the appropriate PAM module), or failing that, to circumvent passwd validation by the system. I am aware I can add dynamically their home directories through mkhomedir.so but this alone is of little use as I have to add the user manually anyhow beforehand.

The goal I'm trying to achieve is:

a) Have users created automatically during the initial login (if and only if they are successfully authenticated against the RADIUS/TACACS server) on a Linux system and subsequently get a shell  (telnet, ssh, ftp etc.) (Gentoo is the flavor but I don't believe it's particularly relevant)
b) AVOID using LDAP/OpenLDAP to do that.

TIAStart Free Trial
 
Loading Advertisement...
 
[+][-]07.01.2008 at 12:38AM PDT, ID: 21905571

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Linux Network Security, Linux Networking, Linux Administration
Tags: Linux
Sign Up Now!
Solution Provided By: noci
Participating Experts: 1
Solution Grade: B
 
 
[+][-]07.01.2008 at 03:38AM PDT, ID: 21906299

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628