I have found the offending piece of code.

       original_real_uid = getuid();
        original_effective_uid = geteuid();

#ifdef HAVE_SETRLIMIT
        /* If we are installed setuid root be careful to not drop
core. */
        if (original_real_uid != original_effective_uid) {
                struct rlimit rlim;
                rlim.rlim_cur = rlim.rlim_max = 0;
                if (setrlimit(RLIMIT_CORE, &rlim) < 0)
                        fatal("setrlimit failed: %.100s",
strerror(errno));
        }
#endif

  Should GNU Hurd be changed to accomodate this or vice-versa?


--- James Morrison <[EMAIL PROTECTED]> wrote:
> --- Raimund Huemmer <[EMAIL PROTECTED]> wrote:
>
> I've noticed this problem with any installed version of ssh.
> However, if you compile it yourself and use that compiled and not
> installed copy it will work.  I don't know what causes this.
>
> > Hi,
> >
> > I have recently installed ssh. If I want to use it as user
> > I get this error message:
> >
> > bash-2.04$ ssh [EMAIL PROTECTED]
> > setrlimit failed: Function not implemented
> >
> > As root it works perfectly.
> >
> > I installed the package ssh_2.5.2p2-3_hurd-i386.deb (with all
> other
> > dependend pkg).
> >
> > Thanks in advance.
> >
> > Raimund
> >
> > --
> > Life's too short to read boring signatures
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
> >
>
> =====
> James Morrison
>    University of Waterloo
>    Computer Science - Digital Hardware
>    2A co-op
> http://hurd.dyndns.org
>
> __________________________________________________
> Do You Yahoo!?
> NEW from Yahoo! GeoCities - quick and easy web site hosting, just
> $8.95/month.
> http://geocities.yahoo.com/ps/info1
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>

=====
James Morrison
   University of Waterloo
   Computer Science - Digital Hardware
   2A co-op
http://hurd.dyndns.org

__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1


Reply via email to