Per your request / suggestion:

sudo /usr/sbin/adduser --gecos --disabled-password bugta
[sudo] password for administ: 
Adding user `bugta' ...
Adding new group `bugta' (1001) ...
Adding new user `bugta' (1001) with group `bugta' ...
Creating home directory `/home/bugta' ...
Stopped: Couldn't create home directory `/home/bugta': No such file or 
directory.

Removing directory `/home/bugta' ...
Removing user `bugta' ...
Removing group `bugta' ...
groupdel: group 'bugta' does not exist
adduser: `groupdel bugta' returned error code 6. Exiting.
administ@bagend:~/CannotAdd$ exit
exit
Script done, file is 2011.01.16.2004.log

Ah, /home is an automount map (auto.home).  Thank you for showing me how
to get to the bottom of my problem, and so quickly.  I would think that
having /home be an automount map would be a common configuration.  Is
there a way for you to detect this condition so that it can be handled
intelligently?

I have an action now to disable my automount map, make a user in /home,
then try to move it to /lhome when they are not logged in to see if it
works.  Cannot do tonight.  Thank you for your patience.

As far as a mis-configured system, I only changed:

/etc/inetd.conf
/etc/cups/cups-pdf.conf
/etc/auto.home
/etc/auto.master
/etc/mdadm/mdadm.conf
/etc/samba/smb.conf
/etc/fstab
/etc/default/grub
/etc/default/console-setup
/etc/exports

(And installed to corresponding packages that they support) as
required).  I should have recognized that one cannot create a directory
in an automount map.

I guess my suggestion at this point would be to try to put out a better
message... but you mentioned earlier that you cannot report errors ...
but there was the recent dialog box I got "The configuration cannot be
saved: You are not allowed to modify the system configuration."  That
got through.  Could you not capture the output I got (below) and stick
it in a dialog box?  Also, the message about "The configuration cannot
be saved" is misleading.  It is not that something could not be saved,
it is that the home directory could not be created.  But then I know
literally nothing about gnome.

Thank you for your help.  I will get to the above verification that
things work when home is not an automount and report.

--Ray

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.
https://bugs.launchpad.net/bugs/666555

Title:
  "users and groups" home directory change does not "take"

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to