From owner-freebsd-questions@FreeBSD.ORG Thu May 18 20:06:34 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D94AA16A5A4 for ; Thu, 18 May 2006 20:06:34 +0000 (UTC) (envelope-from unixforums@yahoo.com) Received: from web39110.mail.mud.yahoo.com (web39110.mail.mud.yahoo.com [209.191.87.229]) by mx1.FreeBSD.org (Postfix) with SMTP id 4C04343D73 for ; Thu, 18 May 2006 20:06:34 +0000 (GMT) (envelope-from unixforums@yahoo.com) Received: (qmail 10060 invoked by uid 60001); 18 May 2006 20:06:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=F/bWUU+0aF/Y08jrJG31hE6Y+HtMS5+dz1sYE0610AlhNKfBttLdLZPad6Lk55Cz8hNeOyROdDHf+WtYJvFqXnxxLkJZWYvLFjUXLlg3kf/1eo0+HDUMzB9Vs8WBfGrQbVixyi5X+blRNG+Mhykc/ONiuJYf7KHV7IVnerLB7ac= ; Message-ID: <20060518200633.10058.qmail@web39110.mail.mud.yahoo.com> Received: from [208.57.242.155] by web39110.mail.mud.yahoo.com via HTTP; Thu, 18 May 2006 13:06:33 PDT Date: Thu, 18 May 2006 13:06:33 -0700 (PDT) From: unixforums 1 To: Andy Greenwood , Izwan Mohd In-Reply-To: <3ee9ca710605181145h436bca27ib5fb8e26ac348daf@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: how to change roots shell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 20:06:35 -0000 It wont let me link it. Im going to see if I can walk a user at the site through single user mode. Thanks for trying to help. Thron Andy Greenwood wrote: can you not link /bin/sh to change? On 5/18/06, Izwan Mohd wrote: > Hope you have "sudo" you can do "sudo -u root bash" if don't nothing > came cross my mine yet how to deal with it :-\ > > unixforums 1 wrote: > > > tried it and i get the following error: > > > > su: change: No such file or directory > > > > What happened originally is I accidently changed the shell to "change" > > and now i get the following error when I su. > > > > su: change: No such file or directory > > > > This is a remote system so if at all possable i need to do it through ssh. > > > > Thanks > > > > */Izwan Mohd /* wrote: > > > > unixforums 1 wrote: > > > > >Hi, > > > I did a completely newbie move and changed the root�s shell to > > something that doesn�t work. So, needless to say now I can�t > > su to root or even login as root. Is there a way I can fix this > > without rebuilding the server? > > > > > > Thanks for any help you can provide. > > > > > > > > >--------------------------------- > > >Sneak preview the all-new Yahoo.com. It's not radically > > different. Just radically better. > > >_______________________________________________ > > >freebsd-questions@freebsd.org mailing list > > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > >To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > > > > > > > > > > su root -c chsh root > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com