Skip to content

Suppress ‘Warning: no access to tty’ in ssh

I have a short simple script, that compiles a .c file and runs it on a remote server running tcsh and then just gives back control to my machine (this is for school, I need my programs to work properly on the lab computers but want to edit them etc. on my machine). It runs commands this way: So far

Tornado Python as daemon

I have my code written with tornado and I want to make it work pretty much like apache or nginx, that is It must keep listening to the port even when I close the shell. It must start automatically on system restart I have tried nohup command to make it work even when I close the shell. It works. But

SSSD Authentication with Samba 4

I have recently upgraded to samba 4 from samba 3.5 on a RHEL 6.3 platform. It is pleasing that the new version can replace AD DC and has it’s own built it kdc and ldb database. Now my intention is to make linux boxes authenticate to samba4 by connecting through ldap as samba 4 works like a kerberized ld…

Why Maven uses JDK 1.6 but my java -version is 1.7

I have setup maven in my terminal, and when getting the version settings (using mvn -v) it seems it uses JDK 1.6, while I have JDK 1.7 installed. Is there anything wrong? The commands I enter are these: Answer add the following to your ~/.mavenrc: Second Solution: echo export “JAVA_HOME=$(/usr/libexec/j…

How to test for existence of a file on the Puppet Master

In a customized modules on Puppet I have and I want to let the module do something whether or not the file “fqdn-of-server” exist on the Puppet Master. Googling did get me a file_exists.rb function: and this does work when put in something like: in my manifest init.pp (of course $fqdn is a facter)…