LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-12-2011, 03:17 PM   #1
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
--current , $dmesg --> "klogctl: Operation not permitted"


Can someone point me to any additional $DOCS to re-enable dmesg for regular users as 'man klogctl' is not very Fogie friendly
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-12-2011, 03:22 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,493

Rep: Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437
echo 0 > /proc/sys/kernel/dmesg_restrict
 
5 members found this post helpful.
Old 03-12-2011, 03:28 PM   #3
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Original Poster
Rep: Reputation: 63
Thank you for the quick reply, it works like a charm
 
Old 03-13-2011, 09:39 AM   #4
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Alternatively:
Code:
echo "kernel.dmesg_restrict=0" >> /etc/sysctl.conf"
 
3 members found this post helpful.
Old 03-13-2011, 11:44 AM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
or recompile your kernel to disable CONFIG_SECURITY_DMESG_RESTRICT
 
Old 03-13-2011, 01:03 PM   #6
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by willysr View Post
or recompile your kernel to disable CONFIG_SECURITY_DMESG_RESTRICT
Perhaps, but this is a silly reason to build a custom kernel. If you're building one anyway for legitimate reasons, sure, but otherwise, use one of the methods above.
 
Old 03-13-2011, 06:31 PM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Well, i always compile my own kernel anyway
 
Old 06-02-2011, 11:45 PM   #8
rvp
LQ Newbie
 
Registered: Aug 2006
Distribution: Slackware since 1996.
Posts: 2

Rep: Reputation: 0
Thank you Pat, Robby. This restrict in 13.37 has been bugging me for the last couple of days.

Last edited by rvp; 06-02-2011 at 11:46 PM.
 
  


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
"creating symbolic link" "operation not permitted" wheni Linux - Newbie 3 05-08-2011 01:36 AM
Logged in as "root"/Fedora 8 but get "Operation not permitted" when using "chmod etc gosunlee Linux - Newbie 7 02-10-2008 05:56 AM
hdparm -d1 /dev/hda gives me "HDIO_SET_DMA failed: Operation not permitted" elluva Linux - Hardware 7 07-21-2007 03:49 AM
"Operation not permitted" error logging in to Ubuntu Dapper Drake paulBottomley Linux - Newbie 7 08-10-2006 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:04 PM.

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