equal
deleted
inserted
replaced
103 |
103 |
104 https://cygwin.com/cygwin-ug-net/ntsec.html |
104 https://cygwin.com/cygwin-ug-net/ntsec.html |
105 POSIX accounts, permission, and security. |
105 POSIX accounts, permission, and security. |
106 |
106 |
107 Modern Cygwin (v3.x) relies on ``/etc/nsswitch.conf`` for user settings. That means there are no |
107 Modern Cygwin (v3.x) relies on ``/etc/nsswitch.conf`` for user settings. That means there are no |
108 ``/etc/passwd`` & ``/etc/group`` and user home directory and login shell is defined according to |
108 ``/etc/passwd`` & ``/etc/group`` and user home directory and login shell are defined according to |
109 ``nsswitch.conf``. |
109 ``nsswitch.conf``:: |
|
110 |
|
111 db_home: /home/%U |
|
112 db_shell: /bin/bash |
110 |
113 |
111 Earlier Cygwin used ``/etc/passwd`` & ``/etc/group`` and sometimes you were required to regenerate |
114 Earlier Cygwin used ``/etc/passwd`` & ``/etc/group`` and sometimes you were required to regenerate |
112 them:: |
115 them:: |
113 |
116 |
114 $ mkpasswd -d | grep $yourlogin > /etc/passwd |
117 $ mkpasswd -d | grep $yourlogin > /etc/passwd |