After compiling my kernel, common user access denied.
I have customized my FreeBSD 5.3 kernel successfully.
However, after the compiling, I can only login as root. common user access denied. What was worse, when I login as root, I can enter the system directly. No password needed to login, so strange! I think it is insecure for my system. What is wrong? Give me a hand, please! Thanks. |
Is your boot failing and dropping you into single user mode?
What messages are you getting right before it lets you get a prompt. |
try to recompile without removing to much stuff. Did you also do a buildworld without using mergemaster?
|
I just do like this:
cd /usr/src.sys/i386/conf cp GENERIC MYKERNEL cd /usr/src make buildkernel KERNCONF=MYKERNEL After this, it booted quite well, when the daemon appeared, I choose to select the default, not the single-user mode. In addition, I am using multi-OS. I use Boot-manager to load the systems, but I don't think this should be the cause. |
Sorry, I also typed such a command after the compiling:
make installkernel KERNCONF=MYKERNEL |
I know you are trying to boot into multi-user mode but it sounds like the boot is failing -- which means it will dump you into single user mode to fix the boot.
What messages are you getting right before it asks you what shell you want? |
I reinstalled my FreeBSD and I found exactly where and when I failed to login as common user.
It happened exactly after I installed the source code. ((((not after my compiling)))). I use sysinstall to install the source code. Anything wrong? I have no idea. |
All times are GMT -5. The time now is 02:26 PM. |