[CoLoCo] can't add user - path exists
jim at ubuntu-rocks.org
Sun Mar 23 06:39:06 GMT 2008
On Sat, Mar 22, 2008 at 9:55 PM, Scott Scriven <ubuntu-us-co at toykeeper.net>
> * Jim Hutchinson <jim at ubuntu-rocks.org> wrote:
> > So if I have a path like
> > /home/jim
> > and I want to make a new user "jim" how do I get around the
> > error and have it use the same path?
> Something like this should work...
> % ls -l /home
> drwxr-xr-x 2 1007 1007 92 Aug 5 2007 jim/
> % sudo adduser --uid 1007 --gid 1007 --no-create-home jim
> Then again, I think adduser might work without the option for
> home. Just be sure to specify the same uid/gid as your existing
> data, to make sure the user has access to their files.
Thanks. That worked but I had to drop the gid bit. It gave an error about
the group id not existing. I also didn't need the no-create line.
Please avoid sending me Word or PowerPoint attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ubuntu-us-co