Skip to main content

Unix & Linux Weekly Newsletter - Tuesday, December 30, 2014

Unix & Linux Weekly Newsletter

Top new questions this week:

What is the /boot partition really for?

I'm reading a relatively old text on Linux partitions and file systems (the LPIC 1 Certification Bible). It says: Some versions of the Linux boot loaders cannot access a kernel that is outside ...

/ partition / hard-disk / boot-loader / fhs  
asked by HNML 14 votes
answered by Graeme 18 votes

Why do my identically prepared USB sticks differ in one byte?

I have two identical USB sticks (TrekStor 16GB) prepared as following with the c't bankix image. Preparation using GParted: Deleted the existing partition Created a new DOS partition table ...

/ live-usb / troubleshooting  
asked by student 14 votes
answered by Jens 26 votes

How to dump a binary file as a C/C++ string literal?

I have a binary file I would like to include in my C source code (temporarily, for testing purposes) so I would like to obtain the file contents as a C string, something like this: \x01\x02\x03\x04 ...

/ c / hexdump / xxd  
asked by Malvineous 12 votes
answered by Michael Homer 22 votes

How do I do an N-way diff?

How do I diff the output of multiple commands? vimdiff can support up to four files, but diff itself seems to support exactly two files. Is it directly possible with some variant of diff, or do I ...

/ scripting / diff  
asked by muru 9 votes
answered by MariusMatutiae 7 votes

How can I list all shell variables?

Reading about this question: In zsh how can I list all the environment variables?, I wondered, how can I list all the shell variables? Also, does the distinction between shell variables and ...

/ shell / zsh / environment-variables  
asked by Josh 8 votes
answered by Uriel 4 votes

Can I make a file only accessible to a script, and not a user?

I have a user with limited access on the system (that is, he is not a sudoer); let's call him Bob. I have a script or a binary which I, the system administrator, trust, and would have no problems ...

/ permissions / root / access-control  
asked by IQAndreas 7 votes
answered by Benjamin Pollack 9 votes

Cannot run cryptsetup throught SSH?

I'm trying to open a LUKS drive through SSH directly. ssh root@XX "cryptsetup luksOpen /dev/sdb3 secure But, no password prompt and it stuck. debug1: Sending command: cryptsetup luksOpen /dev/sdb3 ...

/ ssh / luks  
asked by warl0ck 6 votes
answered by frostschutz 7 votes

Greatest hits from previous weeks:

How do I remove a user from a group?

Which command should I use to remove a user from a group in Debian? When adding a user to a group, it can be done with: usermod -a -G group user However, I could not find a similar command ...

/ users / group  
asked by Lekensteyn 76 votes
answered by Herman Torjussen 81 votes

Why am I still getting a password prompt with ssh with public key authentication?

I'm working from the URL I found here: http://jaybyjayfresh.com/2009/02/04/logging-in-without-a-password-certificates-ssh/ My ssh client is Ubuntu 64 bit 11.10 desktop and my server is Centos 6.2 64 ...

/ ssh / key-authentication  
asked by Thom 74 votes
answered by Rob 101 votes

Can you answer these?

Protecting my server from it's own users

Are there any tools to check my server's file system for permission vulnerabilities? My server is a low security web and email server running our local email and website. Anyone in my organization ...

/ permissions / vulnerability  
asked by Michael Ozeryansky 2 votes

Generate array of strings combined with number

I would like to generate a local array in a shell/bash script that consists of the following elements: JF-1998, JF-1999, JF-2000,... , JF-2011. That is, a string JF- combined with the years from 1998 ...

/ shell-script / string / array  
asked by MERose 2 votes

Why is my SSH authentication socket different from the man pages?

These two entries of man ssh-agent describe the SSH authentication socket: $TMPDIR/ssh-XXXXXXXXXX/agent.<ppid> UNIX-domain sockets used to contain the connection to the authentication ...

/ ubuntu / ssh / authentication / ssh-agent  
asked by IQAndreas 3 votes
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3

Comments

Popular posts from this blog

Drupal Answers Weekly Newsletter - Wednesday, December 31, 2014

Top new questions this week: Can I delete old hook_update_N functions? Suppose you have a custom module, and you have hook_update_N() implementations in your .install file. If you have old update functions, and all updates have run in all sites that the module is ... node-update hook-update-n   asked by AyeshK ...

[New post] 8th Class Result 2014 PEC Hafizabad Board

Muhammad Waqas posted: "PEC Hafizabad Board 8th Class Result 2014 expected date is 28th March, 2014 by PEC. Punjab Examination Commission (PEC) will announce 8th class result for Hafizabad Board soon and all the students of Hafizabad Board who are extremely waiting for the resul" New post on Jobs in Pakistan 8th Class Result 2014 PEC Hafizabad Board by Muhammad Waqas ...

[New post] 1st Year (11th Class) Result 2014 BISE Rawalpindi Board

Xaib Aslam posted: "BISERWP board Inter part 1 result expected on 10th October 2014 according our source. students of Rawalpindi board desperately waiting for 11th class result. 1st they upload the 12th class result and after some time they ready for showing the 1st year fin" New post on Jobs in Pakistan 1st Year (11th Class) Result 2014 BISE Rawalpindi Board by Xaib Aslam ...