Le vendredi 6 janvier 2012 14:46:01 Jay Goldberg, vous avez écrit :
> Hi Helmut, that is a neat trick (but Ubuntu LTSP doesn't use it, it's
> commented out), but maybe I can clarify for all:
> 
> When you add a new user in Ubuntu using the GUI, the user is assigned
> to certain groups in /etc/group.
> When you add a new user in Ubuntu in the shell, the user is NOT
> assigned to those same groups in /etc/group.
> 
> This is true for 'useradd'.
> This is true for 'adduser' unless you specify a grouplist manually
> using EXTRA_GROUPS and ADD_EXTRA_GROUPS in /etc/adduser.conf.
> 
> So I'm wondering where is the GUI getting this default grouplist?
> Shouldn't the behavior be the same in GUI or CLI?

AFAIK, the GUI doesn't use the adduser script - which is really a script to 
automatize tedious sysadmin tasks: adding user to /etc/password and 
/etc/group, crypting password and copying it in /etc/shadow, creating folders 
copying /etc/skel, editing ~files if needed, changing rights, and so on...

See Rob's answer, for command line one should setup /etc/aduser.conf

regards
Xavier
[email protected]

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to