Re: small enhancement idea for 'make installworld' et al.

看板DFBSD_submit作者時間21年前 (2004/05/13 13:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/13 (看更多)
> around that. I don't personally see how having 'su root' in the > Makefile is less safe than making the user manually type 'su root' or > making them re-login as root - in fact, one could make the argument > that > it's safer: while the human could forget to exit the su back to a > normal > user when the installworld is done, the Makefile does that part > automatically too. I don't see that this takes into account setting DESTDIR at all. Typing `su root` is not safe at all. To make sure unsafe environment settings aren't pulled over from the user account your are switching from you must type `su - root`. I think a warning message would be fine here if the user that just typed installworld wasn't root. But the Makefile doesn't need to take any action though based on that. -DR
文章代碼(AID): #10emXL00 (DFBSD_submit)
討論串 (同標題文章)
完整討論串 (本文為第 9 之 13 篇):
文章代碼(AID): #10emXL00 (DFBSD_submit)