The UNIX and Linux Forums  

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
Executing script with root privilages from a user login checkpro SCO 1 03-11-2008 02:03 PM
Shell script to find when user su'ed to root jrvilino Shell Programming and Scripting 1 03-05-2008 06:31 AM
Can't login root account due to can't find root shell neikel AIX 2 01-30-2008 07:07 PM
CDE login Problem for root user only Awadhesh HP-UX 1 08-02-2005 05:58 AM
No user able to login except root(superuser) konda UNIX for Advanced & Expert Users 2 06-25-2002 09:19 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-21-2002
Registered User
 

Join Date: Sep 2001
Posts: 114
Stumble this Post!
mistyped shell path, now i can't login as the only user that can su to root

i mistyped the location of bash and now i can't login as the only other user who belongs to wheel on my freebsd box.

since i'm having many problems with samba, this has frozen my attempts to get things resolved with the former issue.

i've been told that 'su -m' should do the trick, but it's not.

can anyone tell me what to do here?
Forum Sponsor
  #2 (permalink)  
Old 10-21-2002
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,288
Stumble this Post!
Boot off a boot floppy, mount the partition with the pw file and edit the shell path..... one way to do it.....

Another way....

Take out the hard disk with the misconfigured file... mount it on a different machine and edit the file....

etc.
  #3 (permalink)  
Old 10-22-2002
Registered User
 

Join Date: Oct 2002
Posts: 1
Stumble this Post!
Be more specific

try to be a bit more specific... but it sounds like you are using Freebsd(could be wrong) so reboot the machine into the single user mode, then mount the root partition and edit the password file to reflect the actual path to the shell in question... and if my assumption was correct... /usr/local/bin/bash

Hope this helps

BSDimwit
  #4 (permalink)  
Old 10-22-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Stumble this Post!
Can't you log in at the console as root?
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0