NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: su makes not proper root

> NetBSD su remembers your login id, unlike su used in some other OS.
> Try id -p as root to see this.

I got answer with "su -" as the solution. Still it says
zoran@localhost, but I care no more about it.

> I redirect my root mail to main user address using /etc/mail/aliases
> (if that helps)

su - was proper for my complaint. I forgot to reread
man page, since I had wrong impression I remembered
it from eons ago. My bad.

With - I get proper path to /var/mail/root. Exactelly
what was needed.   :)

Thank you for answer and best regards


Home | Main Index | Thread Index | Old Index