> >--Signature=_Mon__27_Oct_2003_22_07_26_+0100_XsWeZS0TYnUqZls= >Content-Type: text/plain; charset=US-ASCII >Content-Disposition: inline >Content-Transfer-Encoding: 7bit > >On Mon, 27 Oct 2003 10:12:30 -0800, Chris W. Parker wrote: > >> I was wondering if it's possible to make 'su -' start in the directory >> you are currently in instead of starting at the roots home directory. >> Can this be done? It's really annoying to have to cd back to where you >> were. > > $ su > Password: > # . /etc/profile > >in case you want root's PATH. Yes and no. That will help with the default setup, But many users set up extra stuff in personalized files for root, which will not be in the system default files. Best to use "su -" and cd into the previous location. Simple cutting-n-pasting will take care of that. MB >-- > >--Signature=_Mon__27_Oct_2003_22_07_26_+0100_XsWeZS0TYnUqZls= >Content-Type: application/pgp-signature > >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.3 (GNU/Linux) > >iD8DBQE/nYkO0iMVcrivHFQRAi1QAJ9zWsQUMRCaU11+4t4w3exWBj2a6wCfbepq >yxOF5tmLICgxUFrvTGRBGvo= >=uVf0 >-----END PGP SIGNATURE----- > >--Signature=_Mon__27_Oct_2003_22_07_26_+0100_XsWeZS0TYnUqZls=-- > > >-- >redhat-list mailing list >unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe >https://www.redhat.com/mailman/listinfo/redhat-list > -- e-mail: vidiot@xxxxxxxxxx /~\ The ASCII \ / Ribbon Campaign [So it's true, scythe matters. Willow 5/12/03] X Against Visit - URL: http://vidiot.com/ / \ HTML Email -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list