Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

group users for new user?
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
group users for new user?
8th Feb, 2014, 08:10 AM
Post: #1
turtle Offline
Registered
Posts: 2
Joined: Feb 2014
Reputation: 0
group users for new user?
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
Find all posts by this user
Quote this message in a reply
9th Feb, 2014, 02:53 AM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: group users for new user?
What are you actually trying to achieve?

What is the output from
Terminal
groups

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
9th Feb, 2014, 10:24 AM
Post: #3
turtle Offline
Registered
Posts: 2
Joined: Feb 2014
Reputation: 0
RE: group users for new user?
(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.
Find all posts by this user
Quote this message in a reply
9th Feb, 2014, 11:31 PM
Post: #4
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: group users for new user?
Sounds like you should be using Raspbian and not Xbian.

or you could try RaspXbian

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
24th Mar, 2014, 02:54 PM
Post: #5
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: group users for new user?
@turtle

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

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

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 05:41 PM Powered By MyBB, © 2002-2025 MyBB Group.