Re: [Proftpd-user] ftpasswd --group question

Ian via Proftp-user <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
Hi  TJ
Thanks for the quick response.   I have another related question.  I am assuming that a group can contain multiple users. 
Executing the 2 commands in succession 
ftpasswd --group --file /sftp-config/proftpd.group --name  business_users  --gid 1200 --member  john   ftpasswd --group --file /sftp-config/proftpd.group --name  business_users  --gid 1200 --member  mary


should be identical to 
ftpasswd --group --file /sftp-config/proftpd.group --name  business_users  --gid 1200 --member  john  --member mary


But it looks like using the first method, the 2nd command  will overwrite the first entry in group file.  In the above case,  john was added to the group file and then marry overwrites his entry.   |
I am running proftpd version 1.3.6 
Thanks 

      From: TJ Saunders <[email protected]>
 To: [email protected] 
 Sent: Monday, October 30, 2017 7:37 PM
 Subject: Re: [Proftpd-user] ftpasswd --group question
   

> I can see how to create a group and add member(s) to the group.
> ftpasswd --group --file /sftp-config/proftpd.group --name  business_users
>   --gid 1200 --member  john mary bob larry
> Is there a way to remove a user from a particular group? e.g. 
> how do i remove larry from group  'business_users' ?

Hmm.  Good question.  Looks like ftpasswd can't do that -- yet.  I've
filed a ticket for this:

  https://github.com/proftpd/proftpd/issues/620

I should have this fixed/working later today.

Cheers,
TJ

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ProFTPD Users List  <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.