Forum
group users for new user? - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: group users for new user? (/thread-2098.html)



group users for new user? - turtle - 8th Feb, 2014 08:10 AM

Hello all,

I added on my Xbian system a new user "foobar" and there seems to be no group "users"?

The home directory of the new user looks like this:

drwxr-xr-x 2 foobar foobar 4096 Feb 7 21:37 foobar

Shouldn't this be like this?

drwxr-xr-x 2 foobar users 4096 Feb 7 21:37 foobar

Many thanks in advance

Turtle

PS: By the way, the user "users" is in the system:
> sudo group add users
gives
> groupadd: group 'users' already exists
but users is nowhere to be found in /etc/groups


RE: group users for new user? - IriDium - 9th Feb, 2014 02:53 AM

What are you actually trying to achieve?

What is the output from
Terminal
groups



RE: group users for new user? - turtle - 9th Feb, 2014 10:24 AM

(9th Feb, 2014 02:53 AM)IriDium Wrote:  What are you actually trying to achieve?

What is the output from
Terminal
groups

typing groups says:
> xbian sudo input

Why is the users group not there? I am trying to setup xbian so that the raspi is a cloud and samba server. I was just surprised that no "users" group was set as default for a new user. Thanks a lot for answering.


RE: group users for new user? - IriDium - 9th Feb, 2014 11:31 PM

Sounds like you should be using Raspbian and not Xbian.

or you could try RaspXbian


RE: group users for new user? - mk01 - 24th Mar, 2014 02:54 PM

@turtle

this is depending on configuration, look into:
Code:
/etc/default/useradd

if you uncomment GROUP=100, useradd will do what you want.