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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-21-2002
xyyz xyyz is offline
Registered User
  
 

Join Date: Sep 2001
Posts: 114
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?
  #2 (permalink)  
Old 10-21-2002
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,656
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
BSDimwit BSDimwit is offline
Registered User
  
 

Join Date: Oct 2002
Posts: 1
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
LivinFree LivinFree is offline Forum Advisor  
Goober Extraordinaire
  
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Can't you log in at the console as root?
Sponsored Links
Closed Thread

Bookmarks

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 02:32 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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