I was about to start my dhcpd service but couldn't do it since it was masked. I tried systemctl unmask dhcpd.service but it does not work. Any suggestion?
56595
root@gcomputer:~# systemctl status x11-common ● x11-common.service    Loaded: masked (/dev/null; bad)    Active: inactive (dead)   I tried systemctl unmask x11-common and systemctl unmask x11-common.service but that did not change anything.  How do I unmask it?
11928
When I am online, I get following error and the tool does not start:  [root@dhcppc9 lin64]# ./ise No protocol specified _pn: cannot connect to X server :0.0   But everything is OK when I am not a superuser. Why that?  Edit  [root@dhcppc9 lin64]# export $(dbus-launch) No protocol specified   any suggestion?  Also   [root@dhcppc9 lin64]# xhost [+] No protocol specified xhost:  unable to open display ":0.0"
76852
I'm trying to diagnose and test some a Windows 7 domain-auth-over-wireless-network. I'd like to see what network the computer is connecting to, what auth it is using, and what DHCP data it receives prior to user login, and also what happens after user login. Does event viewer show this info? Do I need to enable it anywhere?  Cheers,  Victor
122464
Is it possible to configure process hiding for certain user groups under a linux system?  For example: Users from group X should not see processes owned by users from group Y in ps/top or under /proc.  Is it possible to configure such a setup with SELinux?  (I vaguely remember a similar feature in the funny grsecurity patch set - but IIRC, it was more generic - and besides, I want to configure a stock linux distro without having to maintain a custom kernel.)  Edit: For better illustration, . The example is not that generic, but one can configure that a user or some users can only see information of their own processes in ps etc.
116034
I have linux redhat machine version 6.5  I reboot machine and work as single user mode ,   then I set the network on eth0 with default gw address   /etc/sysconfig/network-script/ifcfg-eth0   but from some reason dg address not appears from netstat -rn after service network restart  my question - can we set default gw address and start network when we in single user mode ?
6280
I kust realized that some other PC is also getting assigned a IP address (DHCP Lease) from my modem. I am sure this is not one of the PCs in my home.  My modem was using WEP security. I know WEP is far less secure and WPA is better, but this actually is a borrowed modem, and I did not know that WEP was used.  I immediately did the following : On My Modem    Changed the encryption mode from WEP to WPA   Changed the password   After this I do not see the intruder PC on the DHCP list.  On my Mac:     Changed the permissions on the public folder to "everyone - no access"   Turned off "File Sharing" in System Preferences (But I would want to turn it back on sometime)   My mac is the one that is always on, Both the admin user and the user I normally use are password protected.  Is the above sufficient? Should I do something more?  Also, is WPA security sufficient? Should I take other steps?
63567
So this keylogger is being sold on HF doesn't rely on any dependencies or anything like that so it's able to infect linux systems.  Thread link:   If you are not registered with the forum here is the sales thread image:   Link is safe to view it's just a sales page on the forum.  What can I do to prevent such things infecting my system?  I read this:   I just want to confirm it's true the way it would have to install to infect me.
121184
What do I mean by custom actions? Here are some examples.  sudo service apache2 stop-htcacheclean    sudo service apache2 graceful-stop sudo service apache2 start-htcacheclean sudo service apparmor recache   How can these be re-implemented when porting sysvinit scripts to systemd services?  The problem with systemd is, that differentiating daemon arguments cannot be conditionally used?  And how to do so while adhering with Debian policy?  Or do you know any example Debian systemd services that already support such custom/legacy actions?
63597
The network interface should not make a request for an IP over DHCP. So, what is the command to turn off NetworkManager in Ubuntu?   Update:  I am writing a script in which the interfaces receive static IPs. For this to happen I need to put a line in the script which will turn off NetworkManager. But when I'm not using that script I want to have DHCP on the interfaces.
82300
It appears that sudo systemctl disable gdm3 &amp;&amp; sudo systemctl disable gdm do not work in 18.04 to disable the windowing system at bootup.  What's the method for doing this now?
63192
From the Terminal, how can I release and renew my DHCP lease?  Currently, I'm doing the following for the wireless interface, but I'm wondering if there's a better way:  sudo ifconfig en1 down sudo ifconfig en1 up   For the wired interface, replace en1 with en0.
17903
I've a network which is mainly Windows: Windows 2008 server (with DNS/DHCP as well as AD), and various mainly Windows machines (servers, XP, 7). I know trying to add few Linux boxes, and can't make them appear on the DNS server.  I'm using Ubuntu 11.04 (both client and server). The Ubuntu boxes are NOT part of the Domain though Samba or anything.  I've seen many conflicting answers on the Internet, including this site: is the registration done by the Linux box or by the DHCP server?  I've tried on the following:   On the Linux box, on /etc/dhcp/dhclient.conf, I had: send host-name "ubuntubox". Also tried fully qualified domains i.e. send host-name "ubuntubox.mydomain.local (side question: which one is correct?) On the Windows Server, in the DHCP configuration, right click on the zone -> properties -> DNS tab -> ticked the last checkbox (Dynamically update ...).   Anyway ... nothing helped.   Another side question: Why do I have both /etc/dhcp3 AND /etc/dhcp on my Linux box? Only the latter folder has dhclient.conf (despite common remarks on the web).  Also, is sudo dhclient -r really the equivalent of ipconfig /renew? As far as I can say it does nothing.
83816
I have a requirement to hide a process in Task Manager. It is for Intranet scenario. So, everything is legitimate. :)   Please feel free to share any code you have (preferably in C#) or any other techniques or any issues in going with this route.  Update1: Most of the users have admin privileges in order to run some legacy apps. So, one of the suggestion was to hide it in task manager. If there are other approaches to prevent users from killing the process, that would be great.  Update2: Removing the reference to rootkit. Somehow made this post look negative.
71216
How does one disable IPv6 completely (for all interfaces, resp. for the whole machine?  Keep in mind, I don't want any kind of GUI solution.    OS in question:   Linux Mint 18.x Cinnamon 64-bit GNU/Linux Debian 9.x Cinnamon 64-bit
40684
According to  it appears to be simple. However, /etc/bind does not exist on the default installation of Ubuntu 12.04.3 LTS server.  So, without installing any further software, how can configure DNS and remove dnsmasq on ubuntu server? I am quite familiar with sudo &amp; nano.
83150
Over the last 3-4 weeks I have been trying to find a rogue DHCP server on my network but have been stumped! It is offering IP Addresses that do not work with my network, so any device that needs a Dynamic Address is getting one from the Rogue DHCP and then that device stops working. I need help to find and destroy this thing! I think it might be a Trojan of some sort.  My Main Router is the only valid DHCP Server and is 192.168.0.1 which offers a range of 192.160.0.150-199, and I have this configured in my AD as Authorized. This ROGUE DHCP claims to be coming from 192.168.0.20 and offering an IP Address in the range of 10.255.255.* which is messing up EVERYTHING on my network unless I assign a static IP Address to it. 192.168.0.20 does not exist on my network.  My network is a single AD Server on Windows 2008R2, 3 other physical servers (1-2008R2 and 2 2012R2) about 4 Hypervisor VM's, 3 laptops and a Windows 7 box.  I can't ping the rogue 192.160.0.20 IP, and I can't see it in the ARP -A output, so I can't get its MAC address. I'm hoping that someone reading this post has come across this before.
48395
I've created a  package which installs a service.  On our embedded devices, I want this package to automatically enable the service.  On our developer workstations, I want the developers to systemctl start foo manually (it's a heavy service, and so it just consumes resources if run all of the time on a desktop environment).  How can I go about prompting the user for their decision during the apt-get step? Is that the best solution?  Note, I've created the package using dh_make and debhelper and enabled it with:  %:     dh $@ --with=systemd  override_dh_systemd_enable:     dh_systemd_enable --name=foo foo.service