From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653641821648.tru64-unix-managers.marc@archive.invalid> From: Trevor Osatchuk Date: Thu, 04 Oct 2001 19:55:02 +0000 To: tru64-unix-managers Subject: SUMMARY: root shell deleted X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653641821648 > Well, I got a lot of responses that basically iterated what I thought I > would have to do. Either get down to single user, which I can't as I am > not root and root isn't already logged in on the console and I can't su; > or boot from CD, which is what I will try. I guess that I should have > mentioned this is a remote site, so I was hoping for a clever remote > solution. I lost my connection and cannot log back in(I use bash for my > user shell too), so I guess a road trip is in order! I guess this is a > good argument for not giving everybody root privileges! > > Thanks to Michael Bucholtz, Marco Benton, John Venier, Greg Skouby, Alan > Davis and Robert Fridman for their responses. > > Original post below: > > -----Original Message----- > From: Trevor Osatchuk > Sent: Thursday, October 04, 2001 1:24 PM > To: Tru64-Unix-Managers (E-mail) > Subject: root shell deleted > > This is a new one. Someone deleted the /usr/local/bin directory and with > it the bash shell. This is the shell that was used for root, and all > other users! I am currently logged in and I was going to replace the > /usr/local/bin/bash file, but I don't have write permission with my user! > Is there a way to get around this without having to restore? I don't have > sudo either. > > Thanks! > > Trevor Osatchuk > Process Solutions Canada Ltd. > Support and Integration Analyst > (780) 452-2227 Ext. 286 > trevor.osatchuk@pscl.com > > Any man whose errors take ten years to correct is quite a man. > - J. Robert Oppenheimer, speaking of Albert Einstein >