eb43
![]() |
|
|
|
|
|||||||
| General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I've installed FreeBSD 9 in a VM. I have one user account aside from root. I installed the zsh package and then set root's and my shell using chsh to /usr/local/bin/zsh, which was a valid entry in /etc/shells. After rebooting, I cannot log in. I know what the passwords are, and they are not incorrect. I used the recommended partition scheme including a boot, root, and swap partition; /usr is not separate or unmounted.
I have also tried booting into single user mode, running /bin/sh, mounting the filesystem, and resetting the password, but this did not work either. Last edited by DutchDaemon; May 30th, 2012 at 12:28. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#2
|
|||
|
|||
|
Can you boot into single user mode and reset the passwords?
|
|
#3
|
|||
|
|||
|
Yes. When I run whoami, the result is 0. passwd root results in
Code:
no such user Last edited by DutchDaemon; May 30th, 2012 at 12:29. Reason: AGAIN: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#4
|
|||
|
|||
|
|
|
#5
|
|||
|
|||
|
Quote:
However, I still don't understand why my regular user cannot log in with zsh. Last edited by DutchDaemon; May 30th, 2012 at 12:29. |
|
#6
|
|||
|
|||
|
First of all, you shouldn't change your original post so much after you get responses to it. It makes the rest of the thread appear out of order, making less sense to anyone reading it, and therefore of less help to future people having the same problem.
After entering your username and password what is the exact wording of the error message you're getting? Is it just Code:
Login incorrect Code:
login: Last edited by DutchDaemon; May 30th, 2012 at 12:30. |
|
#7
|
|||
|
|||
|
Yes. It seems that the issue was how I used chsh. The first time, I ran it with no arguments, which spawned an editor where I entered the chagne manually (which led to the error). After resetting my shell to /bin/csh, I was able to log in. Then I ran
$ chsh -s /usr/local/bin/zsh, and that worked.In response to my inclusion of additional information in the OP, I wanted anyone who finds this thread (whether member or not) to be able to get a quick overview of the whole issue in the first post, as opposed to reading the entire thread, since sometimes threads can get quite lengthy. If your suggestion is an enforceable community guideline, I will be happy to follow it. |
![]() |
| Tags |
| error, login, shell |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Login incorrect | Chris322P | General | 5 | September 8th, 2011 05:51 |
| Unable to authenticate action... when changing login properties | carebearboy | General | 0 | August 6th, 2011 06:49 |
| How are people changing the look of the login screen? | bigtoque | GNOME | 2 | April 18th, 2011 15:54 |
| [Solved] Changing Shell Manually - FreeBSD 7.2 | anon_ind | General | 6 | February 5th, 2010 05:49 |
| [Solved] Shell path for root incorrect | Aaron_VanAlstine | General | 12 | July 11th, 2009 16:43 |