Skip to content

Tag: linux

How to pass Rundeck key storage to script

I created Rundeck Key storage and stored password in it Then created Job option Then in inline script i specified folowing (keys/JIRA is Rundeck password storage) But password is not passed and authnetication fails, what am i doing wrong ? Answer The password value will be expanded when it is passed to the sc…

Login as root using Laravel Forge

I have executed a recipe on a server at Laravel Forge. The recipe is for some reason run as root. When connecting to the server through ssh, I use user forge. But since the recipe was run as root, I cannot access some processes. My first thought was to log in as root, but I think Forge has disabled that.

What is Kinect + Linux being used for?

An article on Hackaday piqued my curiosity, and I see Kinect + Linux questions being asked here (mostly about configuration), so I’ll venture this question: It is clear to me that Kinect can be used together with Linux on a “regular pc” — but I can’t help wondering why, that is, …

Segmentation Fault on pthread_create

I am having an issue with the following C code. The code itself is supposed to create 5 threads that simulate the Dining Philosophers problem in which threads are accessing shared data. The code follows: I am on a Linux virtual machine, using gedit. The program compiles fine, but upon attempting to run it, I …

IPv6 multicast interface selection

The setsockopt way to select an interface for the outgoing traffic with IPv4 is IP_MULTICAST_IF, which accepts two arguments. From the ip(4) manual page: Set the local device for a multicast socket. The argument for setsockopt(2) is an ip_mreqn or (since Linux 3.5) ip_mreq structure similar to IP_ADD_MEMBERSH…