From owner-freebsd-questions Tue Jun 25 8: 5:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.eagle.ca (mail2.eagle.ca [209.167.16.30]) by hub.freebsd.org (Postfix) with ESMTP id 18B8F37B400 for ; Tue, 25 Jun 2002 08:05:21 -0700 (PDT) Received: from afi (staff.eagle.ca [209.167.16.15]) by mail2.eagle.ca (8.11.3/8.11.3) with SMTP id g5PF2bM62893 for ; Tue, 25 Jun 2002 11:02:37 -0400 (EDT) (envelope-from lists@brenius.com) Message-ID: <000701c21c59$ba6b5aa0$7b01a8c0@afi> From: To: Subject: Permissions required for bash Date: Tue, 25 Jun 2002 11:05:22 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am having troubles activating my bash profile for root... Specifically after changing some permissions: drwxr-xr-x 4 root wheel 512 Jun 24 23:34 . drwxr-xr-x 19 root wheel 512 Jun 24 16:46 .. -rw-r----- 1 root wheel 0 Jun 24 23:34 .addressbook -rw-r----- 1 root wheel 2285 Jun 24 23:34 .addressbook.lu -rw------- 1 root wheel 133 Jun 25 10:37 .bash_history -rw-r--r-- 1 root wheel 1241 Jun 24 23:11 .bash_profile -rw-r--r-- 1 root wheel 1079 Jun 24 23:00 .bashrc -rw-r----- 2 root wheel 804 Jun 24 22:50 .cshrc -rw-r----- 1 root wheel 2894 Jun 24 22:12 .history -rw-r----- 1 root wheel 142 Jun 11 00:20 .klogin -rw-r----- 1 root wheel 297 Jun 11 00:20 .login -rw-r----- 1 root wheel 14616 Jun 24 23:34 .pinerc -rw-r----- 2 root wheel 251 Jun 11 00:20 .profile drwxr-xr-x 2 root wheel 512 Jun 24 21:02 .ssh drwx------ 2 root wheel 512 Jun 24 23:43 mail What would the tightest permissions I could have without loosing shell (bash in this case) usability? #su su-2.05a# Which should be: #su ==[root] ~ # (which reads my .bash_profile) I only get the second one when I do "su -" (which I don't understand). And what is the difference between .bashrc and .bash_profile? P.S. How do I add the server name to the prompt as well? Thank you! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message