[Courses] [Networking] Lesson 1
Conor Daly
conor.daly at oceanfree.net
Thu Mar 20 16:10:02 EST 2003
On Thu, Mar 20, 2003 at 02:15:18PM +0000 or so it is rumoured hereabouts,
Telsa Gwynne thought:
>
> That's your home directory. Your home directory is stored in $HOME.
> If you type "printenv" it will print out lots of such things. These
> are environment variables, and set up your environment for you. Try
> 'printenv' after 'su' and 'su -' and you'll see differences. Two
> very important differences:
>
> * If you su from one account to another, trying to read the new
> account's email gets different results with 'su' and 'su -'.
>
> * root has extra directories on its path.
And a third:
* root should _never_ have a '.' in its path. This prevents
accidental execution of a compromised/malicious program instead of
the proper system one.
Conor
--
Conor Daly <conor.daly at oceanfree.net>
Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
3:07pm up 12 days, 16:22, 0 users, load average: 0.00, 0.00, 0.00
Hobbiton.cod.ie
3:07pm up 13 days, 14:37, 1 user, load average: 0.18, 0.10, 0.03
More information about the Courses
mailing list