The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
32 views

Some files under `/` are owned by UID `501`, is this dangerous?

I just noticed that that the directory /usr was owned by UID 501 on my system. Such a user does not exist on my system, as verified by looking at /etc/passwd. Have I suffered a security breach, or is ...
1
vote
0answers
28 views

Running uuidd automatically on startup on Ubuntu 13.10 server?

I am running the 13.10 Ubuntu server edition on which I have installed SAP's Netweaver Gateway 2.0 trial. This requires the UUID daemon to be running. Whenever I start up the system and run uuidd as ...
1
vote
0answers
30 views

Create a fake read only device like file with incrond

I need to generate UUID with uuidgen (not through any function call, but external command, because processes which will read the file cannot call any APIs or external commands directly). My idea is ...
0
votes
0answers
19 views

Run Sys V Init daemon as certain user?

When I installed dansguardian from the repos a long time ago, it set itself up such that in iptablesI could refer to it as --uid-owner dansguardian, which allows me to allow/deny it access to certain ...
2
votes
3answers
167 views

/dev/disk/by-uuid/ not working on one machine

I have a iSCSI disk which I am mounting from several machines (exclusively, not concurrently). On machine A, I start iscsi service open-iscsi start and the iscsi disk is discovered as /dev/sdb1. ...
1
vote
0answers
54 views

Where to get UUID libraries and code

What is the difference between the libuuid that comes with the util-linux-ng package and the one that comes with e2fsprogs? Also, if I want to compile libuuid from source, where should I get said ...
5
votes
2answers
211 views

Modifying a BTRFS filesystem UUID

I've made backups of my BTRFS filesystem using Clonezilla, and have restored one of those backups to a file named 2013-11-29.sda3.img. I need to get some files out of this backup, but there's a ...
10
votes
1answer
955 views

Why can't I specify my root fs with a UUID?

My system boots OK with this in my GRUB 2 config: linux /bzImage root=/dev/sda2 init=/usr/lib/systemd/systemd ro But if I replace /dev/sda2 with the corresponding UUID: linux /bzImage ...
3
votes
1answer
111 views

How can I override the kernel default options for mount?

I'm struggling with a program that creates a file system in a file and mounts it as a loopback device. The purpose of the program is to create a clone of the root file system and it thinks it's being ...
2
votes
2answers
515 views

understanding /dev/disk/by- folders

Question: What does /dev/disk/by-pathdescribe? And where is this documented? Going through the meaning of what is displayed in the folders /dev/disk/by- I've got that far, and I wonder is this ...
0
votes
0answers
938 views

How to convert grub config to use kernel device names instead of UUID

I've got a bunch of identical systems on which I want to clone the same openSUSE 12.3 installation. I've set up clonezilla on PXE server. After appling the disk-image of on another machine, it fails ...
3
votes
2answers
628 views

How to find out UUID of a non-block USB device?

In a nutshell, the device I have is not a block device so blkid command doesn't suit me. But at least I can get some info about my device via lsusb -v command although it doesn't contain its UUID. ...
1
vote
1answer
2k views

UUID Of A drive that won't show up in /dev/disk/by-uuid or blkid

I have a USB drive that is not receiving a UUID. When I look at the contents of the /dev/disk/by-uuid it doesn't exist there. The dev point that the partition lives in is on /dev/sdb. I am able to ...
2
votes
1answer
388 views

Error mounting drive with fstab

I have an small server in my house with an external usb 2TB hard drive: /dev/sdb1: LABEL="Data" UUID="eedc3098-221d-4800-b8b4-efa4fef23f5f" TYPE="ext4" I have the next line in /etc/fstab: ...
5
votes
2answers
4k views

How do you dual boot Debian and FreeBSD using GRUB2?

I've been trying to install FreeBSD alongside my Debian installation in a single partition. All examples readily present on the Internet had shortcomings: Some required chainloading the FreeBSD ...
1
vote
1answer
682 views

“Removing leftover files … Unknown user 'uuidd'. [FAIL]” on a fresh Arch Linux installation

I just fresh installed Arch Linux reecently and when booting i can spot a warning: Removing leftover files [BUSY] [/usr/lib/tmpfiles.d/uuidd.conf:1] Unknown user 'uuidd'. [FAIL] What could this ...
1
vote
1answer
1k views

UUID based on global MAC address

I used the uuid command from the uuid-1.6.2-8.fc17.x86_64 package to generate version 1 UUIDs. The man page said that the default is to use the real MAC address of the host, but when I decoded the ...
2
votes
3answers
354 views

Can I substitute partition number with UUID?

Here is my grub.cfg: menuentry 'Debian 6.0 on hard disk' { set isofile="(hd0,6)/home/toinstall/debian.iso" loopback loop $isofile search --no-floppy --fs-uuid --set=root ...
6
votes
2answers
542 views

Why did dd create a different uuid?

root@debian:/home/tiger# dd if=/dev/sda of=/dev/sdb bs=10240k 11447+1 records in 11447+1 records out 120034123776 bytes (120 GB) copied, 4729.59 s, 25.4 MB/s root@debian:/home/tiger# blkid ...
3
votes
3answers
12k views

How can I look up a username by id in linux?

The command id can be used to look up a user's uid, for example: $ id -u ubuntu 1000 Is there a command to lookup up a username from a uid? I realize this can be done by looking at the /etc/passwd ...
3
votes
4answers
1k views

Generate a key (number?) based on part of the machine's hardware components

I'm wondering what is the best way to manually generate a hardware key based on certain components of the machine. Here's the thing: I want only certain type of machines to be able to communicate ...
16
votes
2answers
10k views

How to run custom scripts upon USB device plug-in?

What is the state-of-the-art method for automatically executing custom scripts upon USB device plug-in under current Linux distributions like Debian/CentOS/Fedora? For example if you want to ...
9
votes
2answers
6k views

How to change partition UUID (2 same UUID)?

I have a fedora guest OS in VMware. I want to expand /boot partition, so I add another virtual disk to this VM, and try to clone the disk. After dd if=/dev/sda1 of=/dev/sdb1, blkid report that ...