LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-09-2016, 01:08 AM   #1
Devisri
LQ Newbie
 
Registered: Nov 2016
Posts: 3

Rep: Reputation: Disabled
Question make menu config


I am using ubuntu version is 3.2.0-67-generic-pae. when i execute mmake menu config i am getting the following error.

make: *** No rule to make target `menuconfig'. Stop.


I need to set/remove cap_net_raw capability for a particular user for ping command. I tried changing capability.config file with user name and capability but does not work. when I remove capability it is removed for all users.
 
Old 11-09-2016, 01:42 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
You don't say exactly what you did. The correct procedure is:
1) download kernel source into you home directory
2) unpack it
3) cd into the linux-3.2.0 directory
4) acquire or create a .config file. You can copy the existing config file from /boot or give the command make defconfig.
5) give the command make menuconfig.
 
Old 11-09-2016, 06:41 AM   #3
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
The error indicates that the necessary builds scripts/makefile are not in the current directory.

1) Have you even downloaded kernel sources?
2) Have you looked at other methods, besides recompiling the kernel?

There are various man pages, would be a good start:

https://linux.die.net/man/7/capabilities
 
Old 11-11-2016, 08:07 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
In addition, you should notice the hidden file that is what is ultimately populated by menuconfig. You should make backup copies of this file, every single time you change it. (Or, make one local copy of it and check it in to git version-control.)

This way, when you inevitably fsck it up ... ... no sweat. You just [carefully set the "busted" file aside and ...] grab the previous copy.

And, if you need to know definitively what's different between one and the other, diff is your friend.

Be aware, also(!) that make distclean will erase this hidden file! This make-target does many things that are very useful (I routinely use it before recompiling any kernel), but you must be sure that you do not lose the settings-file ... that is to say, that you can get it right back. Rename it ... make distclean ... then rename it back. Q.E.D.)

Last edited by sundialsvcs; 11-11-2016 at 08:09 AM.
 
  


Reply



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
Backing up KDE Menu config Gavin Harper Slackware 2 06-07-2010 06:41 AM
gnome menu config linuxmandrake Linux - General 4 11-25-2005 07:29 PM
no printer-config in the menu applications abd_bela Debian 2 08-21-2005 08:34 AM
Mapping the items in .config to the menu in make menuconfig alice95089 Linux - Software 1 03-12-2005 06:55 AM
I use a GtkItemFactory to make menu,but I want to use a number key to control menu? jiang10000 Programming 0 08-27-2003 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:50 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration