LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 05-09-2005, 01:15 AM   #1
yilang
LQ Newbie
 
Registered: May 2005
Location: China
Distribution: FreeBSD 5.3
Posts: 19

Rep: Reputation: 0
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.
 
Old 05-09-2005, 01:34 AM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
Posts: 1,449

Rep: Reputation: 47
Is your boot failing and dropping you into single user mode?

What messages are you getting right before it lets you get a prompt.
 
Old 05-09-2005, 01:48 AM   #3
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
try to recompile without removing to much stuff. Did you also do a buildworld without using mergemaster?
 
Old 05-09-2005, 02:14 AM   #4
yilang
LQ Newbie
 
Registered: May 2005
Location: China
Distribution: FreeBSD 5.3
Posts: 19

Original Poster
Rep: Reputation: 0
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.
 
Old 05-09-2005, 02:16 AM   #5
yilang
LQ Newbie
 
Registered: May 2005
Location: China
Distribution: FreeBSD 5.3
Posts: 19

Original Poster
Rep: Reputation: 0
Sorry, I also typed such a command after the compiling:
make installkernel KERNCONF=MYKERNEL
 
Old 05-09-2005, 02:39 AM   #6
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
Posts: 1,449

Rep: Reputation: 47
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?
 
Old 05-09-2005, 08:29 PM   #7
yilang
LQ Newbie
 
Registered: May 2005
Location: China
Distribution: FreeBSD 5.3
Posts: 19

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Access Denied dhUmra Linux - General 1 06-06-2005 05:57 PM
MySQL: 'access denied for user' turbo_acura Linux - General 1 10-20-2004 08:34 AM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 02:30 AM
MYSQL access denied for user c0c0deuz Linux - General 1 03-18-2003 02:44 PM
Common user access to mounted partitions? JoooN Slackware 2 02-16-2003 06:17 AM


All times are GMT -5. The time now is 03:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration