LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   After compiling my kernel, common user access denied. (https://www.linuxquestions.org/questions/%2Absd-17/after-compiling-my-kernel-common-user-access-denied-321538/)

yilang 05-09-2005 01:15 AM

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.

frob23 05-09-2005 01:34 AM

Is your boot failing and dropping you into single user mode?

What messages are you getting right before it lets you get a prompt.

mrcheeks 05-09-2005 01:48 AM

try to recompile without removing to much stuff. Did you also do a buildworld without using mergemaster?

yilang 05-09-2005 02:14 AM

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.

yilang 05-09-2005 02:16 AM

Sorry, I also typed such a command after the compiling:
make installkernel KERNCONF=MYKERNEL

frob23 05-09-2005 02:39 AM

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?

yilang 05-09-2005 08:29 PM

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.