Re: Windows domain user in Linux



On Fri, May 4, 2012 at 8:10 PM, Camaleón <noelamac@xxxxxxxxx> wrote:
On Fri, 04 May 2012 12:32:31 +0500, Muhammad Yousuf Khan wrote:

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

Is the user already in an external database?

From "man adduser":

***
CAVEATS
You may not add a user to a NIS or LDAP group. This must be performed on
the corresponding server.

Similarly, if the username already exists in an external user database
such as NIS or LDAP, useradd will deny the user account creation request.
***

In addition, if the user "administrator" already exists locally, you have
to use "usermod" instead.

Note: adding a user to the root's group can be dangerous.


Thanks for the informative email, however administrator is me so thats
the reason i added that.

Thanks any ways,





Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/jo0rhj$3du$7@xxxxxxxxxxxxxxx



--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/CAGWVfMkKUBL0uDLAHFNZNJUmyeJL6bRn9Px5JspT6qmvujUZgA@xxxxxxxxxxxxxx



Relevant Pages

  • Re: Windows domain user in Linux
    ... On Fri, May 4, 2012 at 7:49 PM, Daniel Koch ... group "root". ... #useradd -G root administrator useradd: ...
    (Debian-User)
  • Re: Windows domain user in Linux
    ... want to add a windows domain user "administrator" a member of group ... #useradd -G root administrator ... useradd: user 'administrator' already exists ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Windows domain user in Linux
    ... want to add a windows domain user "administrator" a member of group ... #useradd -G root administrator ... useradd: user 'administrator' already exists ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Windows domain user in Linux
    ... i am using winbind for samba to fetch users from windows domain. ... want to add a windows domain user "administrator" a member of group ... #useradd -G root administrator ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Windows domain user in Linux
    ... want to add a windows domain user "administrator" a member of group ... #useradd -G root administrator ... useradd: user 'administrator' already exists ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)