[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Windows domain user in Linux



On Fri, May 4, 2012 at 7:49 PM, Daniel Koch
<koch.daniel.89@googlemail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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
>>
>>
>> Please Help.
>>
>> Thank you,
>>
>>
>
> 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


Thanks,


>
> ?
> - --
> Daniel Koch
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk+j7GIACgkQOy1+jxP0nDmZ9ACeJpcOZYq1a6pcDDp9Brc1qpNz
> NcsAn1B8laCryqQH3yMQ3pgAMToOLUby
> =Gyuk
> -----END PGP SIGNATURE-----


Reply to: