Re: Restoring /etc/inittab
On 2004-04-30, Ken Bloom penned:
> On Thu, 29 Apr 2004 22:10:17 +0200, Monique Y. Mudama wrote:
>
>> On 2004-04-29, Thomas Adam penned:
>>>
>>> --- Shaun Jackman <sdj@sfu.ca> wrote:
>>>
>>>> I have -i aliased into cp, mv, and rm, so I don't know how it
>>>> happened! If my system ever boots again, I'll be browsing through
>>>> the .bash_history.
>>>
>>> No need, I've just told you why. :) The lesson here is *don't* do
>>> anything as root until you are sure.
>>
>> Um, no, you haven't. If rm is aliased to 'rm -i' in root's
>> environment, it should have prompted. Unless he neglected to mention
>> that he actually did 'rm -rf' ...
>
> I've noticed that sudo doesn't expand bash aliases, so for me that
> doesn't work.
>
Doh! That's a good point to note.
--
monique
Reply to: