![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Executing script with root privilages from a user login | checkpro | SCO | 1 | 03-11-2008 03:03 PM |
| Shell script to find when user su'ed to root | jrvilino | Shell Programming and Scripting | 1 | 03-05-2008 07:31 AM |
| Can't login root account due to can't find root shell | neikel | AIX | 2 | 01-30-2008 08: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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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
|
|||
|
|||
|
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
|
||||
|
||||
|
Can't you log in at the console as root?
|
||||
| Google The UNIX and Linux Forums |