This is the mail archive of the
mailing list for the Cygwin project.
Re: sending email from Cygwin
- From: luke dot kendall at cisra dot canon dot com dot au
- To: "Pierre A. Humblet" <Pierre dot Humblet at ieee dot org>
- Cc: cygwin at cygwin dot com
- Date: Thu, 15 Jul 2004 17:52:43 +1000 (EST)
- Subject: Re: sending email from Cygwin
On 14 Jul, Pierre A. Humblet wrote:
> At 12:02 PM 7/15/2004 +1000, firstname.lastname@example.org wrote:
> >On 14 Jul, Pierre A. Humblet wrote:
> >> Thanks for the feedback.
> >> The problem is that the exim startup code thinks that you are a
> >> user (see "privileged 1" above). It does that by checking that you have
> >> "Create Token" privilege (you have not answered my question about having
> >> given yourself unusual privileges).
> >> However you are not in the admins group (544), so you can't setuid after
> >> all.
> >So that the main user of the machine is able to install software, they
> >are given admin privileges. So, I have admin privileges. I can find
> >out more details about what that precisely means by asking our Windows
> >sysadmin people, if it would help?
> You don't seem to have the admin privilege, at least not in the usual sense
> of being in the Administrators group. You are not even a PowerUser.
Strange. I am, you know. If I call up User Accounts, I see myself listed
in the group "Administrators", and I certainly have the ability to install
and unistall software.
> $ id
> uid=11021(luke) gid=10513(Domain Users) groups=12919(adaytum),10513(Domain
> Actually another explanation is that your /etc/group file is incomplete.
> You don't seem to be in any local group...
> Are the lines produced by "mkgroup -l" in /etc/group?
> If not, do "mkgroup -l >> /etc/group" and try exim -c again.
> Check also that uid 18 (system) is in /etc/passwd.
> Else do "mkpasswd -l >> /etc/passwd"
You're right about the mkgroup -l:
: /home/luke ; grep -i admin /etc/group
: /home/luke ; mkgroup -l
Network Configuration Operators:S-1-5-32-556:556:
Remote Desktop Users:S-1-5-32-555:555:
: /home/luke ; mkgroup -l >> /etc/group
: /home/luke ; grep -i system /etc/passwd
> By the way, exim-config should give you warnings if those files are
> incomplete. Did you ever run it?
No. I never saw any mention of it in the man page, nor during setup,
nor when I ran exim manually, sorry.
> The question I was asking is whether you have the "Create Token" privilege.
> You can check that from the Users control panel, or with the
> editrights cygwin tool. I am on WinME, so I can't give you
> step by step instructions on how to do that.
If I look at Control Panel -> User Accounts -> Advanced -> Advanced User
Management -> Local Users and Groups, I don't appear in the list of Users
I'm unsure if I'm looking in the right place.
Does this help? :
: /home/luke ; editrights -u luke -l -v
editrights version 1.01: a cygwin application to edit user rights
on a Windows NT system.
Copyright Chris Rodgers <editrights-at-bulk.rodgers.org.uk>, Sep, 2003.
All rights reserved. See LICENCE for further details.
Listing rights for luke:
> If your Windows sysadmin people give you that privilege, I think they
> should reconsider their policies.
There are excellent reasons for allowing all our users for having these
permissions - I can explain in more detail later, if you are
unconvinced. (We are an unusual company.)
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html