From owner-freebsd-questions@FreeBSD.ORG Mon Mar 12 23:29:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5DE4106564A for ; Mon, 12 Mar 2012 23:29:41 +0000 (UTC) (envelope-from eam1edward@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7ABDF8FC0A for ; Mon, 12 Mar 2012 23:29:41 +0000 (UTC) Received: by yhgm50 with SMTP id m50so3778534yhg.13 for ; Mon, 12 Mar 2012 16:29:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=H2U6HwYfEMfgDx8QwsrTM5A/usJMaCXlK81ucmKHURY=; b=snLXkBHq/nOkkx9lyaOrbZKfM+rAgvOC8BGqIlR/it7Lu1A0VzPfrEIHfumfXOuynR 3EQu1FZ8q0J9ioQjBxQ/RA0b81Gcvdx0qUOEfO5aO+mxg33wenmt1d8ZFlvEkGRwXVUu xVc5vGSzSdNh6XLhsB5MzrgeSODXDNxVEGFxHOGvTAn1ufLDJcbiCTE3neVvGwUPUFN0 V6Ka7zj2LOjtKuZCdQTysUjrw0Bs/XSElW8TP6JpZU0H67JizbVb7QRRISLnmDGPnKR4 WznQxYBHMZeQ9kw4ypIurCVa3//sikK6jLt+lAuqGD3fcS2hh3rFY5WOyoFytbIwm17/ wOiQ== Received: by 10.60.4.225 with SMTP id n1mr9524603oen.11.1331594980764; Mon, 12 Mar 2012 16:29:40 -0700 (PDT) Received: from localhost.localdomain ([174.134.109.226]) by mx.google.com with ESMTPS id g2sm22872888obl.7.2012.03.12.16.29.39 (version=SSLv3 cipher=OTHER); Mon, 12 Mar 2012 16:29:40 -0700 (PDT) Message-ID: <4F5E87FA.7090001@gmail.com> Date: Mon, 12 Mar 2012 16:34:18 -0700 From: "Edward M." User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120225 Thunderbird/10.0.1 MIME-Version: 1.0 To: Polytropon References: <4F5E4C2A.1020005@tundraware.com> <4F5E6D3A.50302@gmail.com> <20120312231000.4bb530e1.freebsd@edvax.de> <4F5E7687.5070808@gmail.com> <20120312232300.4da8ebf3.freebsd@edvax.de> <4F5E7D1F.9030703@gmail.com> In-Reply-To: <4F5E7D1F.9030703@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Editor With NO Shell Access? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 23:29:41 -0000 On 03/12/2012 03:47 PM, Edward M. wrote: > On 03/12/2012 03:23 PM, Polytropon wrote: >> On Mon, 12 Mar 2012 15:19:51 -0700, Edward M. wrote: >>> On 03/12/2012 03:10 PM, Polytropon wrote: >>>> /etc/shells to work, but a passwd entry like >>>> >>>> bob:*:1234:1234:Two-loop-Bob:/home/bob:/usr/local/bin/joe >>> >>> I think this would not let the user to login,etc >> I'm not sure... I assume logging in is handled by /usr/bin/login, >> and control is then (i. e. after successful login) transferred >> to the login shell, which is the program specified in the >> "shell" field (see "man 5 passwd") of /etc/passwd. How is >> login supposed to know if the program specified in this >> field is actually a dialog shell? >> >> From "man 1 login" I read that many shells have a built-in >> login command, but /usr/bin/login is the system's default >> binary for this purpose if the "shell" (quotes deserved if >> it is an editor as shown in my assumption) has no capability >> of performing a login. >> >> >> > Now i gotta try this out. Off to > hosed my system. Does not work. Could not login, it shows "Couldn't open *-joerc."