Page 1 of 1

user guest group guest instead of group users

Posted: 23 Feb 2012, 23:47
by Rava
In my book, the user guest should not be in his/her/its own group "guest" but instead in the group "users".

E.g. /etc/passwd:

Code: Select all

guest:x:1000:100::/home/guest:/bin/bash
instead of "1000:1000"

I know, Debian does it that way, too, but why put each user in its own group? This is still the one thing that irks me most with Debian...

Re: user guest group guest instead of group users

Posted: 24 Feb 2012, 09:51
by fanthom
@Rava
1000:1000 perms gives you more control over files, ie: you can add user X and Y to group 1000 but not Z.
so X and Y has access to your files but Z does not.
this scenario wont be the case when all users all in group 100 by default.

btw: Porteus is designated for 2 users only: root and guest. there are references to these 2 accounts hardcoded in linuxrc and rc.M.
other accounts may have crippled functionality: autologin wont work for them, ~/.dmrc wont be cleared so it wont be possible to log into LXDE when you are saving changes (LXDE does not recognize session named as "Default" which is saved in .dmrc file and this file must be deleted during startup).
maybe there are other guest related tweaks - can't remember now...

Re: user guest group guest instead of group users

Posted: 24 Feb 2012, 23:22
by Rava
I had no idea, but now I get it. Thanks for the heads up.

Also, I Now get why I had issues saving the changes in LXDE, and that I had to find out what settings file saves which settings and where...

Explains quite some troubles, like, a year ago. But you learn through such stuff...