> -----Original Message-----
> From: cygwin-owner On Behalf Of Jesper Vad Kristensen
> Sent: 03 February 2005 14:18

> I'm trying to do something odd (I'll explain the "why" later), but
> here's what I would like to do:
> 
> All users here are in the same Windows Domain, and I would like an
> unknown number of users to be able to log into this one Windows server,
> and when they start cygwin there I would like them all to use, say,
> /cygdrive/c/cygwin/home/shareduser as home dir (~/). I.e. no matter who
> logs into the windows box they all share the one and same cygwin
> environment.


  Ok, so after you've run "mkpasswd -d > /etc/passwd", edit the resulting file
and set the home directory field for every user to your chosen dir.  Bingo: all
users get same home drive, same .rc files and so on.  Only catch is that you
have to remember to re-edit the file any time you re-generate it again in the
future.  That would be quite a simple job to do with a script that pipes the
mkpasswd output through sed.

  Or set up ssh and have them all log in as the same username, regardless of
their domain logon.

    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to