Date: Mon, 29 Sep 97 15:50:48 -0700 From: "Studded" <Studded@dal.net> To: "Bob Webb" <bob.webb@snyder.com>, "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.ORG> Subject: Re: su -m and PS1 Message-ID: <199709292250.PAA21341@mail.san.rr.com>
next in thread | raw e-mail | index | archive | help
On Mon, 29 Sep 1997 10:21:44 -0400, Bob Webb wrote: >I subscribe to the philosophy to login as yourself and su to root when >needed. Good philosophy. :) [Problem: Root has no entry for PS1] >Root does not have a .bash_profile or bashrc You just answered your own question. :) What I personally do is make /root/.bashrc a symlink to /etc/profile, and put all of the things I want to maintain across "users" in /etc/profile. That way you limit the number of changes you have to make. You could just as easily make it a symlink to your personal .bash_profile. If you're not sure what a symlink is, man ln. You want to use the -s option. Hope this helps, Doug Do thou amend thy face, and I'll amend my life. -Shakespeare, "Henry V"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709292250.PAA21341>