Tagged Questions

In a narrow sense, Linux is a Unix-like kernel started by Linus Torvalds in 1991. In common usage, Linux is an operating system built around the Linux kernel. This operating system includes many other components, notably from the GNU project, so the term GNU/Linux is sometimes used. There are many ...

learn more… | top users | synonyms

2
votes
1answer
81 views

/dev/tcp not present in Linux

I am porting C/pro*c code from UNIX to Linux. The code is: #define __NFDBIT (8 * sizeof(unsigned long)) #define __FD_SETSIZ 1024 #define __FDSET_LONG (__FD_SETSIZ/__NFDBIT) typedef struct ...
1
vote
1answer
41 views

No vmlinuz and initrd after building the kernel?

After configuring and building the kernel using make, why don't I have vmlinuz-<version>-default.img and initrd-<version>.img, but only got a huge vmlinux binary (~150MB)?
0
votes
2answers
15 views

Where to find acpi mailing list?

Was this mailing list dead: Acpi-devel -- Defunct ACPI Development Discussion List What other source can I utilize , just want to find the developers of acpid
2
votes
0answers
17 views

Which edac module should I enable here?

I got a Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz CPU here , not sure which module should be enabled for EDAC: Chipset: Inter Coporation 6 Series/C2000 , driver in use: i801_smbus
1
vote
0answers
9 views

Setting mailman to reject message when max_num_recipients exceeded?

I'm trying to configure a mailman list I run to reject messages when max_num_recipients is exceeded, but instead it insists on putting the message into the moderation queue. I've searched for details ...
1
vote
0answers
42 views

Keyboard and mouse do not function in Debian

I powered on my laptop running Debian kernel 3.3.0. After the boot process starts the X server and KDE, my keyboard and mouse do not function. Keyboard input works when I use the Recovery Console, and ...
1
vote
2answers
69 views

SSH login with clear text password as a parameter?

I need to login to a user that I've created on a remote host running Ubuntu. I can't use an ssh key because the ssh login will happen from a bash script ran within a server that I wont have access to ...
4
votes
1answer
71 views

Linux from Binaries

I thought Linux from Scratch was a pretty cool tutorial, but I felt having to wait for everything to compile was a bit nerve-wreaking. Is there a tutorial similar to LFS except pre-compiled binaries ...
2
votes
1answer
26 views

assigning files of a group to another one

I want to delete a group using groupdel command, but before doing this I want to assign all files belonging to this group to another one is there a way to do this? I know that I can use find / -gid ...
1
vote
0answers
27 views

acpi_listen returns different result in Ubuntu than Arch Linux

Ubuntu is able to detect my Lenovo "Mic Mute" button with acpi_listen, but when I try it on Arch Linux, there is no output available. Model: Thinkpad X220 4290LY9 Tried to add acpi_osi=Linux in ...
0
votes
1answer
63 views

What happens if I put these directories chmod 000?

I have this server I administer. I have some users that have email accounts on that server and use stuff like horde to read their emails on that server. The server have a limited space and these users ...
0
votes
3answers
64 views

How To See Which Ports Are Open On A Particular Firewall

Using the terminal I was wondering if it would be possible to see a list of all the active firewalls on a particular system that I have shelled into. I want to be able to see which ports are active ...
2
votes
2answers
89 views

UID of a deleted account

How can an administrator find the UID of a user that's been deleted with the userdel command?
3
votes
1answer
79 views

Why do we need an expiration period?

Why is there a gap between the expiration of an account and its complete deactivation, when one can no longer log in or change his password when it became expired?
2
votes
2answers
63 views

Is there any (good) SQLite GUI for Linux?

Helo, I'm looking for a SQLite graphical administration utility for Linux but I can't seem to find any (I found an extension for Firefox I'm not a user of that browser). Is there any that you know ...
1
vote
0answers
16 views

EUI64 and ipv6: how to use own EUI64 for IPv6 autoconfiguration

As I heard the extended unique identifier (EUI-64) can be used as the lower 64 bits of a IPV6 address. How can I set my own EUI64 = ( IEEE_company_ID + manufacture_ID) on the interface on Linux SUSE ...
2
votes
1answer
53 views

When can one reboot from inside a chroot environment?

Sometimes when I chroot into some folder , I could use reboot to reset my box, but sometimes I can't. So I want to know why I could do that sometimes and why. UPDATE The chroot environment is ...
2
votes
1answer
43 views

No effect of umask and chmod on mounted drives

The windows drives are mounted at boot-time using pysdm. The setting were nls=iso8859-1,users,umask=002,sync,user,dirsync,uid=mtk When I try to change the permission of files using chmod, I don't ...
1
vote
1answer
22 views

Clear wireshark's view without stopping and restarting capture

Is there any way to clear the items inside Wireshark, without hitting the 'stop' button, and restarting the capture process?
-5
votes
1answer
43 views

Linux: create list of text with multiple operators

I want to make a list like this: 7785237_770x770_de3b540dc13ed50023d17854513b40aa07e50a6a 732308_770x770_ec5c344c0114011a5306b31142ff9b001813f6d6 ...
2
votes
1answer
52 views

Is it possible to trigger OOM-killer on forced swapping?

Is it possible to have the system preemptively swap out inactive pages (vm.swappiness), but invoke the oom-killer when the system runs out of ram (as opposed to running out of memory) and is forced to ...
0
votes
1answer
31 views

CentOS has not DefaultDepth

In CentOS there is no DefaultDepth line in /etc/X11/xorg.conf file to set the default color depth (although you can add this line to it). How does X determines which color depth to use?
5
votes
2answers
105 views

Why was fsck priority introduced in /etc/fstab?

Inside the /etc/fstab file, in the sixth column, there is a number that corresponds to whether a filesystem should be scanned for errors. Possible values are: 0 - skip 1 - high priority 2 - low ...
3
votes
1answer
78 views

Debian and system clock change?

If I change my system time on Debian which files would be modified? Would it be /etc/default/rcS? Also, is default time on Debian Dec 31 1969?
4
votes
2answers
52 views

Job to keep a count of XML files

My friend works in a IT company where he is required to keep a count of XML files inside a directory (including subdirectories). However the count using ls -LR | grep .xml or similar takes a lot of ...
3
votes
1answer
37 views

Do I have to list modules in both `/etc/mkinitcpio.conf` and `/etc/rc.conf`?

I've added few modules into mkinitcpio.conf. Are they automatically loaded at kernel boot or with udev if I don't specify them in modules list in rc.conf?
4
votes
2answers
56 views

Having Linux port remap to itself

I have a scenario: I have 4 server and 3 web inbound requests that I have to allow through a modem/router. the ports are https(ssl)443 ssh22 and http80. All 4 servers want them. I had set up the ...
1
vote
0answers
14 views

How to use berkeley packet filter (BPF) on ubuntu [migrated]

I did search but I did't find any BPF code to use on my computer, also there isn't any example code to use. My goal is to find low level functions to filter packets. I am working in C program ...
2
votes
1answer
31 views

Are there more advanced LUKS key schemes, e.g. 2 of 3 keys needed?

It seems like the two main LUKS encryption options are: USB keyfile (see http://superuser.com/questions/149578/how-can-i-use-a-keyfile-on-a-removable-usb-drive-for-my-encrypted-root-in-debian) ...
3
votes
1answer
30 views

What does CONFIG_IA32_AOUT do actually?

I'm running a 64bit kernel, already have CONFIG_IA32_EMULATION set, so do I still need CONFIG_IA32_AOUT enabled? From the help in menuconfig, I don't quite get it.
2
votes
5answers
36 views

Is it possible to install Gentoo by building on one machine and copying the files?

I have an older machine with a failing cdrom drive. Because of this I'm having a hard time installing Gentoo on the system. I wanted to run a proposed work around past you and see if it makes sense. ...
9
votes
4answers
167 views

Best method to collect a random sample from a collection of files

Suppose there is a directory holding 300 data files. I want to randomly select 200 of those files and move them into another directory. Is there a way to do that under Unix/Linux?
3
votes
1answer
20 views

Commands for Auditing Installed Software

Similar to the question here, http://serverfault.com/questions/387111/inventory-or-audit-installed-linux-software, I would like to obtain ideas about commands that should be ran across various ...
1
vote
0answers
10 views

How can I configure Yast to switch languages completely?

I have an installation of openSUSE 11.4 which was installed in German. I started Yast2 (which displayed in German, like "Netzwerkdienste") and switched the language to English under "System" -> ...
0
votes
1answer
19 views

Fedora 14 command line: assign folder permissions

How can I assign folder permissions in Fedora 14 using the command line? I'd like to give read/write/execute permissions to : 2 users (tom, jim) to the folder /Home/Share 1 group (employees) to the ...
2
votes
2answers
59 views

Why does xargs strip quotes from input?

Why does xargs strip quotes from input text? Here is a simplified example: echo "/Place/='http://www.google.com'" | xargs echo outputs /Place/=http://www.google.com Is there any way to ...
3
votes
1answer
50 views

How can I uniquely identify which device is on USB `hub 6-0:1.0: port 2`?

How can I uniquely identify which device is on USB hub 6-0:1.0: port 2? I receive messages in my dmesg every now and then and I want the system to tell me which device is connected to that port. ...
3
votes
1answer
41 views

Can unformatted partitions have UUIDs?

Can a partition have a UUID without a filesystem?
1
vote
1answer
39 views

How to preload my .so everytime an application executes?

I've successfully used a hook under linux with this article: http://hackerboss.com/overriding-system-functions-for-fun-and-profit/ Now I want to make my .so file load every time espeak loads up. No ...
2
votes
1answer
44 views

Is there a command in Linux to query a hostname from WINS server

Someone suggested the command nmblookup. But when I ran this command, it issued the following error. $ nmblookup -U 10.140.8.106 -R 'name' querying name on 10.140.8.106 name_query failed to find name ...
4
votes
2answers
93 views

UTF 8 filenames?

In unix based operating systems are utf6 filenames permissible? If so do I need to do anything special to write the file to disk. Let me explain what I'm hoping to do. I'm writing an application ...
2
votes
0answers
33 views

Where does Debian store network connectivity history?

I would like to know if Debian has anywhere where it stores a history of network connectivity- IP addresses/server, DNS etc?
2
votes
2answers
61 views

Size of data that can be written to / read from sockets

I was wondering if there is an easy way to find the maximum size that is supported by Linux sockets? (Is this configurable? If so where?) For example, most of the socket examples found on the web ...
1
vote
1answer
50 views

Execute a script as root at boot on Fedora 15/16

I try to run a script (tpfand) at startup, and it asked to be root to execute it. This is a script to control the fans on Thinkpad computers. Despite several attempts, I could not get ...
3
votes
0answers
15 views

Udev triggers are not firing on insert of CF card into USB card reader (anymore)

I've got a udev rule that triggers a shell script that copies photos off my CF card when I insert the card into my USB card reader. This worked fine for a while. But after a recent upgrade it has ...
3
votes
1answer
39 views

do my advanced filesystem partitions have problems?

Recently one of my drive's went bad in my RAID, and I'm replacing with a new drive. I used this answer to mirror the partition on my old drive for resyncing. But I'm concerned about the output. My ...
1
vote
1answer
16 views

LILO vga option

In LILO config file (/etc/lilo.conf) what's the difference between specifying vga option in Global section and when specifying it in per-image section.
4
votes
0answers
41 views

Auto-switch to wifi

Need to connect to specific wifi point as soon as it is in range. If it is out of range, then system must stay connected LAN. In case, any wifi-point is in range, there must be auto-switch.
3
votes
2answers
67 views

Disable direct login for normal users (like oracle) in linux but allow scp and sftp?

Is it possible to disable direct login for normal users (like oracle) in linux but allow scp and sftp for that use?
0
votes
0answers
40 views

Run script as root under Busybox?

I have written a shell script that has to be run as root under Busybox. My first thought was to add the script to /etc/busybox.conf like this: /sbin/my_script.sh = ssx root.root But this only works ...

1 2 3 4 5 46