Displaying 20 results from an estimated 140 matches similar to: "DesignPatterns part 2: humane class names with namespaces"
2015 Dec 09
1
Adding an AD group to /etc/sudoers?
ok after fighting to get my groups sorted out for my test user I created an
"sudoer" group and added "jefftest" to "sudoer"
> id jefftest
uid=11507(jefftest) gid=8513(domain users) groups=8513(domain
users),31020(sudoer)
and added "sudoer" to /etc/sudoers like so
%sudoer ALL=(ALL) ALL
now when I login as jefftest I can run commands using sudo
back to
2012 Aug 27
1
Fact based variables sowing up empty
I''ve got a single puppet master (2.7.19 + facter 1.6.11) controlling a
number of nodes (2.7.17 + facter 1.6.8-10). On all of thse, fact absed
variables work as expected (such as $::operatingsystem and $::fqdn).
However, on my puppet master, when I run ''puppet agent --test'' all fact
based variables are combing back as empty strings.
For example. I have a line in a
2010 Jun 30
7
augeas and sudo woes
The following function is based on code I found here in an earlier
thread.
define sudoer() {
augeas { "sudo${name}":
context => "/files/etc/sudoers",
changes => [
"set spec[last() + 1]/user ${name}",
"set spec[last()]/host_group/host ALL",
"set spec[last()]/host_group/command NOPASSWD: ALL",
"set
2006 Jan 28
1
RailsCron 0.2 questions
Hi all, I''ve set up RailsCron to send email reminders on a daily
basis. My dev environment is Rails trunk on Debian Sarge, lighttpd
running as a regular user.
I''m having two issues:
1) When I run "rake cron_start", I get
rake aborted!
undefined method `blank?'' for "":String
The "blank?" method is provided by Rails, so I''m
2013 Jun 20
2
Re-inventing the Wheel (again?)
I''m new to puppet and working my way through the documentation. I''m
struggling with the puppet labs module repo.
I''ve toyed with numerous automation and configuration methodologies over
the decades. Perhaps I''m seeing puppet wrong, Compared with CFEngine
there is a a lot I like, but I''m not sure why I''m still having to re-invent
the
2019 Jul 23
4
Files not populated in var/www
Greetings,
I would love any advice configuring icecast on a virtual redhat server
hosted by our university. I am currently trying to configure Icecast and
cannot get the icecast server to start. The config file looks correct. I
checked the /var/www/icecast/web and /var/www/icecast/admin folders and they
were both empty, leading me to believe that this is why the server will not
start. Since I was
2015 Dec 09
2
Adding an AD group to /etc/sudoers?
# cat /proc/sys/kernel/ngroups_max
65536
# sysctl kernel.ngroups_max
kernel.ngroups_max = 65536
Is there a way to change/look at AUTH_SYS?
Seems I have 28 groups now as my user
I tried created a test user with much less groups
but it turns out it is on all those other groups.
As such I tried
winbind nested groups=no
but this doesn't seem to change anything.
On Tue, Dec 8, 2015 at 5:05
2006 Jul 26
3
Polymorphic Association with Single Table Inheritance?
Hello,
is it possible to setup a model/table schema like this:
Groupable --> Membership <-- Group
^ ^
| |
User UserGroup
I tried the following but failed:
Groupable (table with ''type'' column)
has_many :memberships, :as => :groupable
has_many :groups, :through => :memberships
2018 May 06
2
R on Ubuntu
Hi everyone,
first of all, my sincerest thanks for the maintainers of this massive project. Such a compelling task!
Briefly, I?m a PhD student working on Spatial Stats who loves R. Last week I decided to install and use Ubuntu (again). Consequently, I install the latest release (18.04) and tried to install R 3.5.0 as well but (un)fortunately I couldn?t.
I have used R within Ubuntu and I use to
2019 Jul 23
0
Files not populated in var/www
error.log
[2019-07-22 13:25:18] INFO main/main Icecast 2.4.4 server started
[2019-07-22 13:25:18] INFO connection/get_ssl_certificate No SSL capability
on any configured ports
[2019-07-22 13:25:18] INFO stats/_stats_thread stats thread started
[2019-07-22 13:25:18] INFO yp/yp_update_thread YP update thread started
[2019-07-22 13:26:23] INFO main/_server_proc Caught halt
2018 May 06
0
R on Ubuntu
Hi Roman -
Based on advice form the list, here's what I did:
sudo apt purge r-cran-* r-base-*
sudo add-apt-repository ppa:marutter/rrutter3.5
sudo apt-get update
sudo add-apt-repository ppa:marutter/c2d4u3.5
sudo apt-get update
dpkg -l | grep r-cran-*
sudo apt-get install r-base r-base-dev
Added my account to the 'staff' group, so that I can install
non-recommended packages in R
2006 Apr 13
3
[OT] Is it safe to ''su'' to the right user ?
Hi !
I''m using daemontools[1] to manage a few processes on my Debian box.
Among other things, I use it to manage svnserve, because it uses less
memory than Apache.
My /service/svnserve/run looks like this:
#!/bin/sh
su svn -c "/usr/local/bin/svnserve --foreground --daemon --root /var/svn"
Is it safe for me to run like that ? If an attacker cracks svnserve,
what will they
2002 Oct 18
3
Host Key Verification failed - ssh via cgi
hi, my scenario is this:
i have a cgi (on host1) that executes ssh (as userxyz) to a remote server (host2), executes a command to retrieve some data and outputs them to the local browser.
on host1:
#!/usr/bin/perl -w
...
$output = `/usr/local/bin/ssh -l userxyz -x host2 ls -l`
...
but i get "Host Key Verification failed" on my apache's error_log. i can do it on the command line,
2011 Apr 11
0
Suggestions for a secure rails setup regarding system users, groups and permissions.
Howdy. After much experimentation with Capistrano, my deploy.rb file
seems to be working without problems, but I would like to verify what
is recommended in regard to users, groups and permissions. I run
Rails with Apache, Passenger, ImageMagick, Thinking Sphinx, and of
course, deploy with Capistrano. Quite a bit of detail and text
follow, so thanks for bearing with me.
My system''s
2009 Sep 27
3
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* bdoc (1.0)
Michael Anderson
http://crantastic.org/packages/bdoc
This package contains a function that will classify DNA barcodes as
well as a few test and reference data sets.
* bdsmatrix (1.0)
Terry Therneau
http://crantastic.org/packages/bdsmatrix
This is a special case of sparse matrices, used by coxme and
2006 May 18
3
capistrano and Dreamhost issue
Hi,
i''m striving to capistranize a foo app on DH.
Everything is hosted on DH to simplify a bit :
- svn repository (http access)
- the application
- the DB
I used the recipe of Jamis Buck modified by Geoffrey Grosenbach which
you can find here : http://nubyonrails.com/pages/shovel_dreamhost
I did the least modifications possible. As recommended.
1) When I launch the
2010 Aug 25
1
Documenting S4 Methods
I'm in the process of converting some S3 methods to S4 methods.
I have this function :
setGeneric("enrichmentCalc", function(rs, organism, seqLen, ...){standardGeneric("enrichmentCalc")})
setMethod("enrichmentCalc", c("GenomeDataList", "BSgenome"), function(rs, organism, seqLen, ...) {
... ... ...
})
2007 Apr 02
5
any support for wordsegment search?
Anybody who knows whether ferret or acts_as_ferret support wordsegment
search?
like what lucene can done.
I wanna know,if not i will use lucene instead of this
can''t found relevant documents on this aspect in ruby
--
Posted via http://www.ruby-forum.com/.
2005 Nov 07
5
Switchtower deployment
Hi,
Has anyone experiences using SwitchTower (Windows) in a shared hosting
environment (Textdrive)? I already patched the SwitchTower rake tasks (I
don''t know if someone is interested on it), but i still experience some
problems (not in the sudoers list, ...).
Thank you for answer (and thank you to the textdrive guys, i never had a
such fast support!)
--
Jean-Etienne Durand
2017 Jul 10
3
pxechain.com loops back with WDSNBP started using DHCP Referral
Thank you Gene!
On 10/07/17 17:54, Gene Cumm wrote:
> On Mon, Jul 10, 2017 at 11:25 AM, Jelle de Jong via Syslinux
> <syslinux at zytor.com> wrote:
>> Windows 2012 WDS server: 10.87.0.202
>> Windows DHCP server: 10.87.0.152
>> 066 (Boot Server Host Name): 10.87.3.19
>> 067 (Bootfile Name): pxelinux.0
>>
>> PXELinux CentOS 7 server : 10.87.3.19