Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <00e701c2c363$e6a0ed40$a77286d9@webdev> From: "Elfyn McBratney" To: "cygwin" , "Baras, Gal" References: Subject: Re: How can I set up users? Date: Fri, 24 Jan 2003 04:48:50 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 > I've bumped into various problems (cron, mail, etc) that seem to have a > common theme with respect to user setup. However, there are no commands to > manage users (useradd, etc) and the password file handling is unusual. No. There is no *nix like utility distributed with cygwin for managing users. There is, as always, the `net' utility distributed with all versions of windows (well 9x and beyond ;-) which can be used to add users to the system. > I'm logging on to my (W2K) workstation as a domain user, with no > corresponding local user defined. When I use Cygwin, my home directory is / > and I have all the privileges in the world (I'm in the Administrators group > for the domain), but all my file permissions and settings have my user ID on > them (crontab, mailbox, etc). Really? That's no good. What do you expect? Files created by you are going to have your name on 'em because they're your files. Wrt "all the privileges in the world" you may find that is because you haven't set-up restrictive permissions on the hard disk(s)? Windows defaults with very open and un-secure permissions where everyone have global read/write privileges. > Is there a clear explanation somewhere about how users are treated under > Cygwin? Yes! There's the user manual and the faq all of which can be found on the cygwin site: Regards, Elfyn McBratney elfyn AT exposure DOT org DOT uk www.exposure.org.uk -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/