Displaying 20 results from an estimated 1000 matches similar to: "ssh-agent too easy to hack"
2002 Jan 14
2
Should sshd be fixed to handle NIS+ keylogin
To get around the problem of having to change the root password every time a
sys admin leaves the organization Solaris is hardened as follows.
in /etc/default login.
CONSOLE=
Restricted permissions on su so only certain groups can run it.
That way its really difficult to log in as root even if the root password is
known.
For OpenSSH
PermitRootLogin is set to without-password and a key is
2001 Jul 27
2
OpenSSH-RSAAuth-NFS
Here's a bunch of changes I've made to the current portable version of
OpenSSH.
The aim is that the rsa_authentication flag in sshd_config can be given the
values "without-nfs" This is really handy within a large organization where
incorrectly secured home directories can allow authorized_keys(2) to be
modified by someone other than the owner.
So now rsa_authentication can take
2012 May 17
2
VMWare Issue
Ok. I run several linux distro's via vmware on top of my windows 7 machine.
Currently have an Ubuntu 32-bit 10.4 guest for work. An Ubuntu 11.10 64-bit
for misc stuff. Also an OEL 6.2 guest running an oracle database.
I just installed CentOS 5.6 32-bit and I can't get the display to work
right. When it first boots, the screen is very small and almost impossible
to select the username
2001 Dec 20
3
OpenSSH-sparc-3.0.2p1.pkg: /usr/local conflicting file
Hi,
Trying to install the Solaris package I made after configure/compilation
under Solaris 8.
My configure settings
---------------------
OpenSSH has been configured with the following options:
User binaries: /usr/local/bin
System binaries: /usr/local/sbin
Configuration files: /usr/local/etc
Askpass program: /usr/local/libexec/ssh-askpass
2003 Feb 09
1
Logging of comments on keys
Hi,
during our usual work I found it anoying that one can not easily see
who logged in using public key authentication. In newer versions of
SSH the fingerprint of the public key gets logged, but who can tell
which key belongs to whom from his head?
So I wrote a little ad-hoc patch (vs. 3.5.p1) so that the comment
field on the keys in the authorized_keys[2] files get logged to make
life
2011 Feb 24
2
create dummy variables by for loop
HI, Dear R community,
I try to create 100 dummy variables like the following:
ack$id_1 <- (ack$ID==1)*1
ack$id_2 <- (ack$ID==2)*1
..
.
ack$id_100 <- (ack$ID==100)*1
I used the following codes:
for(i in 1:100){
ack$id_[i] <- (ack$ID==i)*1
}
But only one column is created, can anyone help me?
Thanks a lot!
--
Sincerely,
Changbin
--
2010 Feb 14
2
paperclip is making me crazy
seems pretty simple, my model...
has_attached_file :pic_1, :styles => { :thumb => "120x90" },
:url => "/:attachment/:id_:style.:extension",
:path => ":rails_root/public/system/:attachment/:id_:style.:extension"
my view...
<% form_tag(:action => ''create'', :html => { :multipart => true }) do -%>
<label
2009 Oct 30
2
Efficient way to code using optim()
Hi all,
I am trying to estimate a simple logit model.
By using MLE, I am maximizing the log likelihood, with optim().
The thing is, each observation has different set of choice options, so I need a loop inside the objective function,
which I think slows down the optimization process.
The data is constructed so that each row represent the characteristics for one alternative,
and CS is a
2009 Sep 03
12
paperclip is not saving the files
Hi all,
I''ve installed paperclips but
paperclip is not saving the files
my model has
has_attached_file :attachment,:styles => { :medium => "300x300>",
:thumb => "100x100>" }
and i have db migration as
class AddAttachmentToPolicies < ActiveRecord::Migration
def self.up
add_column :policies,
2006 Jan 13
2
LoginGraceTime
Hello,
We've found some undesirable behavior with respect to LoginGraceTime. A
minor code change in session.c seems to clear it up, but now I'm asking
for help in better understanding the problem and determining if there
any unexpected side effects of the change.
First, the code change:
$ diff orig_session.c session.c
216c216,218
< alarm(0);
---
>
2012 Jun 06
2
ggplot2: legend for geom_rug() ..?
Hi,
I was trying to make another legend for the rug plot. Sample code:
library(ggplo2)
ids <- paste('id_',1:3,sep='')
before <- sample(9)
after <- sample(1:10,9)
dat <- as.matrix(cbind(before,after))
rownames(dat) <- rep(ids,3)
position <- c(rep(10,3),rep(13,3),rep(19,3))
mdat <- cbind(melt(dat),position)
ggplot(mdat, aes(position, value)) +
2008 Feb 26
7
Had it with Dell Garbage
I've had it with Dell server garbage. They seem to change RAID
controllers as much as I change socks, and then the controllers don't work
with Linux, unless you load a new driver. They sell servers with a PCI-e
slot in them, but then you get it and find out the RAID controller is using
the PCI-e slot! Their sales folks are dumber than rocks, and they change
them more often than I
2005 Aug 18
1
ssh pre-shared key
I might be going crazy...
perhaps my notes and memory has failed me but it ain't working...
on host machine...
ssh-keygen -t rsa
ssh-keygen -t dsa
scp *pub root at remote:/root
on remote machine...
cat /root/id_{r,d}sa.pub >> /root/.ssh/authorizedkeys_2
but it still asks for password when I try to connect as root from remote
host
logsAug 18 15:51:13 srv1 sshd[1630]: Accepted
2007 Feb 26
1
teeny mongrel_cluster hack
I was playing around with merb over the weekend and whipped up a simple form
that takes your mongrel_cluster.yml file and outputs monit files for you.
Not exactly earth shattering info, but if you have a couple of pups it might
save you some braindead typing. It''s using the new mongrel_cluster syntax,
of --only and clean for each port in your system. Hope it saves someone
some time.
2007 Oct 21
0
Quick facets hack
Following the discussion earlier, I knocked together a trunk-
compatible "facets" monkey-patch, if anyone wants to play with it:
<http://aviewfromafar.net/2007/10/21/quick-and-dirty-facets-in-rspec-
trunk>
It''s simplistic, but it will do for me for the time being.
Ashley
--
blog @ http://aviewfromafar.net/
linked-in @ http://www.linkedin.com/in/ashleymoran
2003 Sep 19
1
ext3 hack: using the journal to replicate a filesystem
Hi,
I'm looking for a way to use ext3 in the following
setup for experimentations purposes:
I have a machine A, a machine B, one of which is
read-write, and machine B is read-only.
I would want the machine B to be the exact copy
of machine A, automagically, like it would happen in an
SQL replication scheme.
Is it possible to do with ext3, using the hidden
.journal file as a source
2007 Jan 14
0
file_splice Hack
Hi *!
Here is a hack to emulate cfengines editfiles/Group behaviour.
{{{
$splice_dir = "/var/local/puppet/splice"
file { $splice_dir:
ensure => directory,
tag => "file_splice",
}
# Replace a section marked by
# comment_char {BEGIN,END} pattern
# with the given content
# if checksum is set to "none", no resource is defined for the edited file
define
2004 Mar 22
0
Registry hack needed
I set up some W2K machines under Samba 2.2.1a for printing using the spoolss
features in that Samba release. I now have Samba 3.02a, and have been
forced to use:
disable spoolss = yes
Now, the W2K machines give the error dialog "could not connect to printer"
because the Windows box is still trying to use the spoolss system, rather
than plain LanMan calls, to figure out whether you
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 13/13] Hack to get output
plain text document attachment (lguest64-debug.patch)
This is just a hack patch to get output from the guest.
It calls lguest_vprint from printk which is a hypercall
to the host to do the printk for the guest.
Chris Wright recommended that I put this into early_printk,
but until I can get that to work, I'm posting this.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Glauber de
2009 Feb 05
0
Having problems with wine mouse hack
Hi. I've recently been trying to compile and use a custom version of wine with a mouse hack designed to fix bug 6971 to do with the mouse leaving the game window and leaving my character stuck in game, not being able to move or look around, etc. This problem specifically occurs in Swat 4 and Mass Effect.
The mouse hack is supposed to give me access to the registry key force_edge, in