-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 04.05.2012 18:05, schrieb Muhammad Yousuf Khan: > On Fri, May 4, 2012 at 7:49 PM, Daniel Koch > <[email protected]> wrote: Am 04.05.2012 09:32, schrieb > Muhammad Yousuf Khan: >>>> i am using winbind for samba to fetch users from windows >>>> domain. now i want to add a windows domain user >>>> "administrator" a member of group "root". however when i run >>>> the command it gives me an error. >>>> >>>> #useradd -G root administrator useradd: user 'administrator' >>>> already exists >>>> > > What about: > > # adduser administrator root > > >> wwwowwwwwww It worked Thanks mate :) > >> can i ask a question , why it worked by adduser and why not >> useradd as both commands works for a same purpose AFAIK
-G, --groups GROUPS list of supplementary groups of the new
account ^^^
"new account" that is why : "'administrator' already exists"
- --
Daniel Koch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk+k85IACgkQOy1+jxP0nDn2rgCdGEP/FhNj8yjOKcXeDr+9vWnu
9IQAniXquXjZiob2nUo8tO+yNsa0ERi2
=GUsO
-----END PGP SIGNATURE-----
<<attachment: koch_daniel_89.vcf>>

