RE: Error when adding user with multiple groups with bsdconfig
-Original Message- From: Lundberg, Johannes [mailto:johan...@brilliantservice.co.jp] Sent: Thursday, January 9, 2014 11:38 PM To: David Chisnall Cc: FreeBSD Current Subject: Re: Error when adding user with multiple groups with bsdconfig On Fri, Jan 10, 2014 at 4:33 PM, David Chisnall thera...@freebsd.orgwrote: On 10 Jan 2014, at 00:37, Lundberg, Johannes johan...@brilliantservice.co.jp wrote: Creating a user who is only added to one group (for example wheel) works fine. I created a user with bsdconfig for the first time yesterday and found that their new home directory was owned by root. Did you experience this, or is it just me? At least all dot files were owned by root if I remember correctly. I think there is a PR for this. http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/184681 Will address this in the rewrite of usermgmt (mirroring the recent rewrite of groupmgmt -- ala SVN revisions 262904 262908 - 262910). -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Error when adding user with multiple groups with bsdconfig
On Fri, Jan 10, 2014 at 12:37 AM, Lundberg, Johannes johan...@brilliantservice.co.jp wrote: Hi I'm on 11-CURRENT amd64. I wanted to add a user using bsdconfig but got an error when adding to several groups. Error message: ERROR!: pw pw: group `wheel daemon operator dialer network` does not exist. Creating a user who is only added to one group (for example wheel) works fine. I have submitted a PR. What command line did you use? A user can only have one primary group (-g), but can be in multiple groups (-G). -g group Set the account's primary group to the given group. group may be defined by either its name or group number. -G grouplist Set additional group memberships for an account. grouplist is a comma, space or tab-separated list of group names or group numbers. The user's name is added to the group lists in /etc/group, and removed from any groups not specified in grouplist. Note: a user should not be added to their pri‐ mary group with grouplist. Also, group membership changes do not take effect for current user login sessions, requir‐ ing the user to reconnect to be affected by the changes. Cheers Tom ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Error when adding user with multiple groups with bsdconfig
Hi I'm on 11-CURRENT amd64. I wanted to add a user using bsdconfig but got an error when adding to several groups. Error message: ERROR!: pw pw: group `wheel daemon operator dialer network` does not exist. Creating a user who is only added to one group (for example wheel) works fine. I have submitted a PR. -- Johannes Lundberg -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。 --- CONFIDENTIALITY NOTE: The information in this email is confidential and intended solely for the addressee. Disclosure, copying, distribution or any other action of use of this email by person other than intended recipient, is prohibited. If you are not the intended recipient and have received this email in error, please destroy the original message. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Error when adding user with multiple groups with bsdconfig
On 10 Jan 2014, at 00:37, Lundberg, Johannes johan...@brilliantservice.co.jp wrote: Creating a user who is only added to one group (for example wheel) works fine. I created a user with bsdconfig for the first time yesterday and found that their new home directory was owned by root. Did you experience this, or is it just me? David ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Error when adding user with multiple groups with bsdconfig
At least all dot files were owned by root if I remember correctly. I think there is a PR for this. -- Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Fri, Jan 10, 2014 at 4:33 PM, David Chisnall thera...@freebsd.orgwrote: On 10 Jan 2014, at 00:37, Lundberg, Johannes johan...@brilliantservice.co.jp wrote: Creating a user who is only added to one group (for example wheel) works fine. I created a user with bsdconfig for the first time yesterday and found that their new home directory was owned by root. Did you experience this, or is it just me? David -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。 --- CONFIDENTIALITY NOTE: The information in this email is confidential and intended solely for the addressee. Disclosure, copying, distribution or any other action of use of this email by person other than intended recipient, is prohibited. If you are not the intended recipient and have received this email in error, please destroy the original message. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org