Tag Info

Hot answers tagged

4

Means folk can leverage this to get a root shell, thereby bypassing your security, eg :!/bin/sh from within vim. Or :r /etc/shadow and :w /etc/shadow. And so on...


2

you have created VM one by manually and second one by vagrant . so , both using different default network generally for manual it create 192.168.122.0/24 ( in libvirt) and vagrant default network 192.168.121.0/24 (in general case may be different ). so , you will be able to connect from host to both guest machine (even they are different network) because ...


2

Firstly, you have your /dev/sdX numbers mixed up between your screenshot and your summary. Hence, the four partitions from df are /dev/sda4 mounted on / /dev/sda2 mounted on /boot /dev/sda1 mounted on /boot/efi /dev/sda3 mounted on /home /dev/sda1 is not empty; df shows it contains 191M. Type: Microsoft basic in the partition table ...


1

If you plan on editing text file you want to create, you can also start with text editor. Let's take an Emacs for example: Go to directory where you want to create file and name the file C-x C-f /path/to/file.txt Press enter. If directory did not exist, you have to create it: M-x make-directory Press enter twice. Voila, you're in newly created file, ...


1

I believe it only gives you the option to create a file if there is a template in your Templates directory - ~/Templates/. If it's empty, create an empty text file in there called (for example) Text Document. Also, confirm that XDG_USER_DIRS environment variable points to the above directory. If not, change it in ~/.config/user-dirs.dirs. The (not-a-)bug ...


1

Usually, only source rpms have a spec file. You can extract it with rpm2cpio myrpm.src.rpm | cpio -civ '*.spec' or you can install the src rpm, as a user, with rpm -i myrpm.src.rpm, when the directory rpmbuild/SPECS/ will get the spec file.


1

The problem was that I encrypted the volumes before enabling FIPS. As garethTheRed alluded to in a comment, LUKS used a non FIPS approved algorithm, so when FIPS was enabled things went bonkers. The solution is to Enable FIPS Encrypt volumes In that order. This guide was also useful in solving the problem. It is lengthy with extra explanation so I ...


1

File management is handled at kernel level, not user space. This means that the kernel will ensure that there is no file corruption when 2 programs try to read or write the same file at the same time, including daemon or any other application. So I would say that it depends on the filesystem that you are using, but not on the number of daemons accessing the ...


1

Many devices at once is at least supposed to work, according to his LJ article about making a serial console remote-access server. Limits of up to 127 USB devices (including hubs) per controller are mentioned (i.e. per pair of ports). Maybe Linux has problems reaching that USB-imposed limit. Probably the kernel log has something interesting to say, so ...


1

You might want to use rvim or vim -Z to avoid the trivial root shell escape. Personally I'd write a short script that allowed the user to edit just the necessary files. Then, if any changes were detected it could offer to restart the Apache server, too. The script could even make automatic backups.


1

ssh-agent -k then the passphrase was entered again and solved problem


1

As you mentioned that it should be an automated shell script, at least for the two yum commands you would need to add -y so yum will assume an answer of "yes" for all questions it will ask. See the yum man page, relevant excerpt: -y, --assumeyes Assume yes; assume that the answer to any question which would be asked is yes. ...


1

Maybe better than earlier answer; firewall-cmd --permanent --zone=trusted --change-interface=docker0 firewall-cmd --permanent --zone=trusted --add-port=4243/tcp firewall-cmd --reload



Only top voted, non community-wiki answers of a minimum length are eligible