LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2019, 03:40 AM   #1
vjoseph1
LQ Newbie
 
Registered: May 2019
Posts: 1

Rep: Reputation: Disabled
Error while restarting services: Failed to get D-Bus connection: Operation not permitted


Hi,


I have added noexec to /etc/fstab for /tmp partition. please see below,

/dev/mapper/system-tmp /tmp ext4 defaults,nodev,nosuid,noexec 1 2

Post this change, I'm not able to issue "admin" commands, example below,

#systemctl restart sshd
Failed to get D-Bus connection: Operation not permitted

Any idea about how to resolve this issue?

Server is RHEL 7.6

Thanks.
 
Old 05-30-2019, 09:06 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147
try removing noexec
 
  


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
Files owned with AD user don't get deleted by root. "Operation not permitted" error. minlinux Linux - Server 0 12-04-2015 11:45 PM
SIOCSIFFLAGS: Operation not permitted SIOCSIFFLAGS: Operation not permitted sushan1982 Linux - Wireless Networking 1 01-01-2012 08:04 PM
sendmsg: Operation not permitted error on wireless nic after failed routing attempt feitingen Linux - Wireless Networking 1 04-03-2007 09:16 PM
HDIO_SET_DMA failed: Operation not permitted acjt Linux - Hardware 4 05-02-2003 10:52 PM
HDIO_SET_DMA failed: Operation not permitted markus1982 Linux - General 2 10-28-2002 04:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:03 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