by Calum » Mon Jun 02, 2003 2:01 pm
well in my experience, in mandrake, su is the same command as su - however in other systems (red hat and slack) su does not load the profile of the user switched to, as stated above. However in slack (can't remember if same in RH) if i just do su in slack, i appear not to gain the new profile of root, but i also appear to lose some of the configuration that the previous user had. For example, if a user has ls --color aliased to ls (so ls always displays coloured output), this does not carry after the su -
perhaps this is not relevant, just my observations.