switching between groups

2004-01-07 Thread Adil Katchi
I was just wondering if anyone has any ideas how it's possible for a user that belongs to multiple groups to somehow limit his or her own capabilities by using only one of the n groups that they belong to and be able to switch between these groups? For example, if userA belongs to groupA, groupB

switching between groups

2004-01-07 Thread Adil Katchi
I was just wondering if anyone has any ideas how it's possible for a user that belongs to multiple groups to somehow limit his or her own capabilities by using only one of the n groups that they belong to and be able to switch between these groups? For example, if userA belongs to groupA, groupB

RE: switching between groups

2004-01-07 Thread Adil Katchi
could just check that the groups being set by setgroups are a subset of the caller's set. Does a function like that already exist? If not, how come? Thanks, Adil -Original Message- From: Bruce M Simpson [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 1:12 PM To: Adil Katchi Cc

switching between groups

2004-01-06 Thread Adil Katchi
I was just wondering if anyone has any ideas how it's possible for a user that belongs to multiple groups to somehow limit his or her own capabilities by using only one of the n groups that they belong to and be able to switch between these groups? For example, if userA belongs to groupA, groupB

PAM and passwd

2003-12-15 Thread Adil Katchi
I was just wondering if anyone knew about the details of loading PAM. My problem is that I need to create a local user account while I am authenticating using a PAM module. That is, using some remote authentication mechanism, if it authenticates a user, I want to create that user locally on the

RE: building sshd

2003-10-20 Thread Adil Katchi
-Original Message- From: Mark Murray [mailto:[EMAIL PROTECTED] Sent: Saturday, October 18, 2003 3:39 PM To: Adil Katchi Cc: '[EMAIL PROTECTED]' Subject: Re: building sshd Adil Katchi writes: I'm trying to build sshd from src/crypto/openssh and I'm having problems. I've only modified

sshd, PAM and template_user

2003-10-17 Thread Adil Katchi
While I realize that freeBSD has PAM`ified SSH, I was wondering if anyone was planning to extend this in the manner that telnet/rlogin have been. From /etc/pam.d/login: auth sufficient pam_tacplus.so try_first_pass template_user=staffer Basically this`ll grab the staffer account and use it as the

building sshd

2003-10-17 Thread Adil Katchi
I'm trying to build sshd from src/crypto/openssh and I'm having problems. I've only modified auth2.c. I've followed the FREEBSD-upgrade instructions. So, this is what I've done: 1. autoconf // to generate the configure file 2. autoheader // got a bunch of warnings but no errors 3. ./configure

ftpd and PAM

2003-10-16 Thread Adil Katchi
Hi, I was just wondering if you'd be able to help me out. I'm trying to get login, ftpd and ssh to authenticate using PAM/RADIUS. I have setup a RADIUS server (FreeRADIUS 0.9.0) and added a user/pass testuser/testpass. On my client machine, I created a template user called templateUser. The