On Montag, 11. Dezember 2006 01:42 Askadar wrote:

> Why do it the hard way? Just get sux from AUR, use it instead of su, and
> voila: you are done.

Nice to see that it is in arch too but i get some strange thing if i used it.

My users have even umask 0007 and so i run su with '-" to have the standard
umask 0022 for root. As i do this this with sux (sux -) than i wonder that an
echo $PATH show this:

/usr/ucb:/bin:/usr/bin:/etc:/root/bin

which is not the same as i get if i use the root terminal in the konsole of
kde or if i do a login at the prompt (lines are cut by me):

/bin:/usr/bin:/sbin:/usr/sbin:/opt/bin:/opt/gnome/bin:/opt/java/bin:
/opt/java/jre/bin:/opt/kde/bin:/opt/mozilla/bin:/opt/NX/bin:/opt/qt/bin:
/usr/local/bin:/root/bin

But what the hell do this non existent dir "/usr/ucb" in the PATH? A "grep -r
ucb" in /etc shows that only postfix/post-install and snort/rules/smtp.rules
have it. I'm a little bit confused about that.

See you, Attila


_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to