This is the mail archive of the cygwin@cygwin.com 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: How can I set up users?


> 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:

<http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html>
<http://cygwin.com/faq/>

Regards,

Elfyn McBratney
elfyn@exposure.org.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/


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