The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
About Logon nokia1100 Shell Programming and Scripting 1 04-05-2007 07:21 AM
Logon script capeme UNIX for Dummies Questions & Answers 4 12-06-2006 10:58 AM
logon to ssh rocky_triton Shell Programming and Scripting 1 05-10-2005 07:11 AM
Logon Problem tayyabq8 SCO 0 11-16-2004 05:14 AM
AIX logon attempts eysheikah Security 0 06-20-2003 09:24 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-21-2003
SRP SRP is offline
Registered User
  
 

Join Date: Nov 2003
Posts: 9
Can't logon

I stupidly changed the shell of the root user to one that does not exist, and now when I try to lgon it says it cannot find the path to my shell and will not let me proceed any further. Is there any way I can get round this without re-installing the OS?

Thanks for any replies.
  #2 (permalink)  
Old 11-21-2003
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
...............

check a live-cd-os like knoppix
http://www.knopper.net/knoppix/index-old-en.html
, mount your fs and correct it

greetings Preßy
  #3 (permalink)  
Old 11-21-2003
google's Avatar
google google is offline Forum Advisor  
Moderator
  
 

Join Date: Jul 2002
Location: Atlanta
Posts: 740
What OS are you using? If you are using a Linux variant, then you can easily overcome this with Toms Root boot.Toms RooT BooT
  #4 (permalink)  
Old 11-21-2003
SRP SRP is offline
Registered User
  
 

Join Date: Nov 2003
Posts: 9
Thanks for replying guys, I'm using FreeBSD 5.1 Unix.
  #5 (permalink)  
Old 11-22-2003
auswipe's Avatar
auswipe auswipe is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 535
Quote:
Originally posted by SRP
Thanks for replying guys, I'm using FreeBSD 5.1 Unix.
You should be able to boot into single user mode "boot -s" when prompted and mount your file systems and modify the entry.

I can't remember for sure but I believe that the boot process will either ask you for a shell to use or use /bin/sh by default.

Of course, all of this is coming off the top of my head.
  #6 (permalink)  
Old 11-23-2003
SRP SRP is offline
Registered User
  
 

Join Date: Nov 2003
Posts: 9
I have booted into single user mode but it wont let me do anything. I cant run the 'chsh' command and it wont let me edit anything either. I cant even progress into the lower levels of the file system e.g. I can cd to /usr but not /usr/bin even though that directory exists. Anyone got any ideas?
  #7 (permalink)  
Old 11-23-2003
auswipe's Avatar
auswipe auswipe is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 535
Quote:
Originally posted by SRP
I have booted into single user mode but it wont let me do anything. I cant run the 'chsh' command and it wont let me edit anything either. I cant even progress into the lower levels of the file system e.g. I can cd to /usr but not /usr/bin even though that directory exists. Anyone got any ideas?
After booting into single mode did you run a `mount -a` to mount all filesystems?
Sponsored Links
Closed Thread

Bookmarks

Tags
knoppix, linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:39 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0