Tag Info

New answers tagged

1

php.ini has a directive has been named disable_functions , For example: disable_functions = ...


0

For login simulation (without going through "sudo -i"), you have to use "su" command. Checking the man page for parameter '-': -, -l, --login Starts the shell as login shell with an environment similar to a real login: o clears all environment variables except for TERM o initializes the environment variables ...


0

The answer right now I believe is 'kind of not really'. I've been using this feature for a few days now on Ubuntu 14.04, and it seems that the thinpool feature has been added as a type of logical volume, rather than at the volume group level, which seems like a weird abstraction break IMO (there are probably reasons, won't speculate here). Anyway, you can ...


0

You can use ps 7622 or top to know what 7622 means, and which other proccess are owned by your user ; then if there is only this one, kill 7622 But remember that if your user is logged anywhere (tty or X11 session), you can't modify its login name while he is logged.


0

check new kernel location in /boot/grub/grub.conf file. upgraded kernel params will show upper side of old kernel. Another thing is check default value. It should be 0 for new kernel.


0

You can use Python and Paramiko scripting for this. Sorry for the plug but I have already a script for this posted here "http://certifiedgeek.weebly.com/blog/network-scripting-via-ssh-with-python-and-paramiko" where the script is located in "https://github.com/cwgueco/netscript" This script "netscript.py" has this options: netscript.py -t <target> -u ...


1

First install XZ yum -y install xz then tar -xvf yourfile.tar.xz


1

Should work with the following command: tar -xvfz linux-2.6.32.65.tar.xz


1

from dhclient manual -1 Try once to get a lease. One failure, exit with code 2. this argument makes dhclient be more responsive over shell exit codes


0

Based on the tips above about using ed (and this example), I came up with the following ED="/bin/ed" CONTENT_TO_APPEND="Yay, config!" ##### Set editor ##### OLD_EDITOR=$EDITOR export EDITOR=$ED; ##### Append using ed ##### echo "a $CONTENT_TO_APPEND . w q" | sudoedit -u bob /foo/bar.conf ##### Clean up ##### export EDITOR=$OLD_EDITOR


0

pxelinux.0 is a generic PXE boot loader for Linux from syslinux project. You can use single pxelinux.0 for all Linux distributions you have. The only thing you need to do is to update the PXE config pxelinux.cfg/default, pxelinux.cfg/CLIENT_MAC or pxelinux.cfg/PORTION_OF_CLIENT_IP depending on you settings. You can: chain menus, see pmagic_advanced entry ...


0

I'd love to know more about this topic to refine the configuration to be the best that it can be, but here's what I have so far. Even without enabling ARP filtering on all network interfaces (net.ipv4.conf.all.arp_filter = 0), traffic seems to be completely separated in this configuration. The file, /etc/iproute2/rt_tables, is the same in EL 6.x and DEB ...


1

Wildcards with sudo commands are a bit dicey. They can appear to give you security without actually doing so. To sudo, the * does not mean "any files under this directory" as it does in the shell. Rather, it means "any additional options" and must stand alone. Unfortunatley, you cannot in sudo restrict part of the arguments, and further, it wouldn't be ...


0

I haven't read throughly all your post (sorry, can't really spend the time right now), but I believe it may be related to the way Linux implements the IP host model: ... The IPv4 implementation in Linux defaults to the weak host model. ... From that same page: ... If the IP stack is implemented with a weak host model, it accepts any locally ...


3

readiness protocol mismatch As Wieland implied, the Type of the service is important. That setting denotes what readiness protocol systemd expects the service to speak. A simple service is assumed to be immediately ready. A forking service is taken to be ready after its initial process forks a child and then exits. A dbus service is taken to be ready ...


0

You're expecting systemd to work on a version of Fedora that pre-dates the full introduction of systemd into Fedora. That came in Fedora 15. Fedora 14 had but a "feature preview" that wasn't enabled straight out of the box. Out of the box, Fedora 14 ran upstart, so you'll have to make sure that you installed an upstart job definition for mysqld and start ...


1

On Gentoo I use PulseAudio's built-in equalizer. Any further info can be found here: https://wiki.gentoo.org/wiki/PulseAudio#Equalizer


1

One thing to be aware, is that STIG locks down /tmp with noexec. If you already spent some time on the box, it's possible that you won't be able to execute the files out of that folder. Try another location for download/install. Also, run your installer as SUDO


0

systemd provides the compatibility with traditional init scripts. To quote from Compatibility with SysV: systemd provides a fair degree of compatibility with the behavior exposed by the SysV init system as implemented by many distributions. Compatibility is provided both for the user experience and the SysV scripting APIs. However, there are some ...


0

The ‘mock’ module is responsible to build the source RPMs (SRPMs) under a chroot environment and uses the ‘mockbuild’ user. If the mockbuild user does not exist while installing the source RPM, you will receive the ‘Warning: user mockbuild does not exist. using root‘ error message. In order to fix the warning message, install the ‘mock’ module: # yum ...


1

Letting adduser choose a user ID is the right way to do it. This won't conflict with official packages because automatically-assigned UIDs and statically-assigned UIDs are in different ranges. Yes, this does lead to different user IDs across systems; there's no easy way to do that because you'd have to tell the whole world (every system administrator and ...


1

The RHEL6 migration guide documents that there's a list for statically-assigned UIDs in /usr/share/doc/setup-*/uidgid, which currently goes up to roughly 200, and dynamic system users count downwards from 499. I read that as "use adduser -r in this case and certainly don't worry if you stay above 300; you won't collide unless you have hundreds of system ...


3

It sounds like you created a key but you didn't configure the account on the server to authorize that key. Copy the contents of id_rsa.pub to the server and add it to ~/.ssh/authorized_keys. Do not copy id_rsa to the server, and keep it protected. This file contains the private key and the server doesn't need to see that. Note that if the key is stored in ...


1

In fact mkisofs 2.01 points to genisoimage: $ mkisofs --version mkisofs 2.01 is not what you see here. This line is only a fake for too clever GUIs and other frontend applications. In fact, this program is: genisoimage 1.1.11 (Linux) From man genisoimage you can try the -m option: -m glob Exclude files matching glob, a shell wildcard pattern, ...



Top 50 recent answers are included