diff options
author | DJ Delorie <dj@redhat.com> | 2001-02-08 04:12:48 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2001-02-08 04:12:48 +0000 |
commit | df7e8957fd6f1db7b9cb64960b3837909977b1b7 (patch) | |
tree | 6a20545aeb2d1029aefc6bc3d1e737c6bb0f7702 | |
parent | 91d385fed39d3f03ebdbc66865a4d03e7264cc22 (diff) | |
download | newlib-df7e8957fd6f1db7b9cb64960b3837909977b1b7.zip newlib-df7e8957fd6f1db7b9cb64960b3837909977b1b7.tar.gz newlib-df7e8957fd6f1db7b9cb64960b3837909977b1b7.tar.bz2 |
* setup2.sgml: Add docs about domain accounts.
-rw-r--r-- | winsup/doc/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/doc/setup2.sgml | 28 |
2 files changed, 29 insertions, 3 deletions
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index cfdb36a..fa69921 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,7 @@ +2001-02-07 Eric M. Monsler <emonsler@beamreachnetworks.com> + + * setup2.sgml: Add docs about domain accounts. + Thu Dec 21 15:03:29 2000 Edward M. Lee <tailbert@yahoo.com> * cygwinenv.sgml: Fix typo in <filename>. Add missing </para>. diff --git a/winsup/doc/setup2.sgml b/winsup/doc/setup2.sgml index d23044f..c3df06e 100644 --- a/winsup/doc/setup2.sgml +++ b/winsup/doc/setup2.sgml @@ -83,8 +83,7 @@ above. <para> Under Windows NT, if you want to create <filename>/etc/passwd</filename> and <filename>/etc/group</filename> (i.e. so that <command>whoami</command> works and -<command>ls -l</command> replaces the UID with a name) just -do this: +<command>ls -l</command> replaces the UID with a name) based on the accounts local to the machine, just do this: </para> <screen> @@ -93,7 +92,30 @@ do this: <prompt>/etc$</prompt> <userinput>mkgroup -l > /etc/group</userinput> </screen> -<para> Future changes to your NT registry will NOT be reflected in +<para>If you are logging in based on an NT network domain, and want to +also create entries in <filename>/etc/passwd</filename> and +<filename>/etc/group</filename> based on all the accounts in the +domain, then after creating local entries do this: +</para> + +<screen> +<prompt>/$</prompt> <userinput>cd /etc</userinput> +<prompt>/etc$</prompt> <userinput>mkpasswd -d >> /etc/passwd</userinput> +<prompt>/etc$</prompt> <userinput>mkgroup -d >> /etc/group</userinput> +</screen> + +<para>Alternatively, to add only your account to the passwd file, +assuming your NT name is "my_ntusername", instead of the above +<command>mkpasswd</command> you should do: +</para> + +<screen> +<prompt>/$</prompt> <userinput>cd /etc</userinput> +<prompt>/etc$</prompt> <userinput>mkpasswd -d | grep my_ntusername >> /etc/passwd</userinput> +</screen> + + +<para> Future changes to your NT registry or network domain will NOT be reflected in <filename>/etc/passwd</filename> or <filename>/etc/group </filename> after this so you may want to regenerate these files periodically. Under Windows 9x, you can create and edit these files with a text editor. </para> |