Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 1997 01:08:02 -0700 (PDT)
From:      Bryce Newall <data@ds9.abac.com>
To:        FreeBSD Questions List <freebsd-questions@freebsd.org>
Subject:   Permission Denied on shell ?
Message-ID:  <Pine.LNX.3.96.970617010315.28966H-100000@ds9.abac.com>

next in thread | raw e-mail | index | archive | help
There's probably a real simple answer to this that'll make me feel real
stupid, but since I'm writing this at 1:05 am, I have an excuse. :)

I set up a "guest" login on my machine, with no password, to allow people
to telnet in and apply for an account.  The passwd entry looks like this:

guest:*:1005:31::/home/guest:/home/guest/question

In master.passwd, the password is blank, so the person never actually gets
prompted for one.  /home/guest looks like this:

[81]root@voyager:/home/guest # ls
total 9
-rw-------  1 guest  guest   101 Jan 15 23:36 .Xauthority
-rw-r--r--  1 guest  guest     5 Jun 17 00:55 .qmail
-rwx------  1 guest  guest  5261 Dec 10  1996 question*
-rwx--x--x  1 guest  guest   594 Jun 11  1996 question.gone*

For some reason, though, when I try to telnet in, I get this:

[82]root@voyager:/home/guest # telnet voyager
Trying 208.137.248.5...
Connected to voyager.abac.com.
Escape character is '^]'.

FreeBSD (voyager.abac.com) (ttyp0)

login: guest
Last login: Tue Jun 17 01:01:03 from voyager
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.2-RELEASE (VOYAGER) #0: Sat May 24 22:47:12 PDT 1997

login: /home/guest/question: Permission denied
Connection closed by foreign host.

I've tried setting /home/guest/question's modes to 700 (as seen in the
above illustration), 711, 755, and even 777, all to no avail (I get the
same message).  Any ideas what I'm doing wrong?  Thanks!

**********************************************************************
*     Bryce Newall    *    IRC: Data    *    Email: data@dal.net     *
*  WWW: http://voyager.abac.com/data  *  IRC Admin, voyager.dal.net  *
*        --== Try DALnet!  Server irc.dal.net, port 7000 ==--        *
*               "Stop smirking, Number 1."  -- J.L. Picard           *
*          "I'm a doctor, not a doorstop!"  -- EMH Program, ST:FC    *
**********************************************************************




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.970617010315.28966H-100000>