A slightly expanded explanation:

su only changes permissions of the current process

su - does a full login.

Jon

On Fri, 5 Sep 2003, Mark Haney wrote:

> Jonathan Bartlett wrote:
> > Remember that "su -" will alter your environment to include /sbin and
> > /usr/sbin, while "su" will not.
> >
> > Jon
> >
>
> I did not know that.  In all the years I've been doing this, I've never
> heard that.  A day is not wasted when you learn something new.  Thanks
> for the tidbit.
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
>


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to