Date: Tue, 25 Jun 2002 11:05:22 -0400 From: <lists@brenius.com> To: <questions@freebsd.org> Subject: Permissions required for bash Message-ID: <000701c21c59$ba6b5aa0$7b01a8c0@afi>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c21c59$ba6b5aa0$7b01a8c0>