This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using usernames and permissions from Windows domain accounts

On Mon, 15 Sep 2003, Hugo Bouckaert wrote:

> Hi
> How can you set up cygwin so that Windows domain usernames are being
> used, rather than what I have now, which is, at the cygwin prompt:
> Administrator@machine>
> Note that people are logging into the machine as a domain user, but as
> that domain user they are administrator on their local machine. This is
> (I think) why cygwin puts Administrator@machine> at the prompt. However,
> I would like people to have a cygwin prompt which recognises their
> Windows domain username as well as the permissions, so that if they go
> into a directory with cygwin (for example a mapped Z drive), the windows
> permissions are taken into account when commands are given at the cygwin
> prompt.
> How can this be done?
> Any help will be greatly appreciated.
> Thanks
> Hugo

"man mkpasswd", "man mkgroup", search both for "-d".  Don't forget to make
backup copies of your /etc/passwd and /etc/group before modifying them.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]