Mail Archives: cygwin/2004/02/14/15:27:29
On Sat, 14 Feb 2004 13:59:09 -0500 (EST), Igor Pechtchanski wrote:
> $ net helpmsg 1314
> A required privilege is not held by the client.
>
> Does this ring a bell? More below.
Nope. I should point out I am not very Windows literate, which is why I'm
trying to use Cygwin in the first place.
> > Please help. Why are the most basic forms of login not working with a
> > "standard" installation of Cygwin?
>
> Because normal users (read: anyone but SYSTEM) don't have enough
> privileges to switch users. Starting with Win2003, not even SYSTEM has
> the needed privileges by default. For more information, see
> /usr/share/doc/Cygwin/openssh.README.
As I pointed out in my original message, my computer's administrator account is
"Owner". When I installed Cygwin, all files have an ownership of "Owner" with
group "User". Also...
Owner AT Beast /
$ id -a
uid=1003(Owner) gid=545(Users)
groups=0(root),513(None),544(Administrators),545(Users)
How could "Owner" not have enough privileges?
> > Better question: How can I get login or su to work?
>
> Run them as SYSTEM. IIRC, su is broken under Cygwin altogether. login
> does work, however, as long as the user has appropriate privileges.
Stupid question: How do I run login as SYSTEM? I tried `chown SYSTEM
/bin/bash.exe` and `chmod u+s /bin/bash.exe` and did `login -f jjg`. Same
result. "/bin/bash: Permission denied".
> > Even better question: How can I switch users?
>
> Install the openssh package, set up sshd (using ssh-host-config), and use
> "ssh user AT localhost" in lieu of "su - user".
I did install openssh, and it's even running and responding to requests.
However...
Owner AT Beast /
$ ssh jjg AT localhost
jjg AT localhost's password:
/bin/bash: Permission denied
Connection to localhost closed.
(---------------------------)
mailto:Jeremy AT Gagliardi DOT com
http://Jeremy.Gagliardi.com
(---------------------------)
--
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/
- Raw text -