Displaying 20 results from an estimated 4000 matches similar to: "Migrations, superusers, security and least privileges"
2007 Feb 03
1
Postgres + tsearch2, migrations, and unit testing
I''m sure people have encountered this before, but I''ve been
unsuccessful at finding anything about it.
Basically, I got a rails app that uses postgres and tsearch2 for some
full text indexing and I''d like to be performing unit tests. Now,
there''s the whole deal of how to get the test database to load all the
tsearch2 information properly.
I tried to come up
2008 Dec 05
0
test:clone_structure problems with Postgres
(in C:/projects/books/TheatreTickets)
** Invoke db:test:clone_structure (first_time)
** Invoke db:structure:dump (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:structure:dump
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute db:test:purge
** Execute db:test:clone_structure
psql:db/development_structure.sql:15: ERROR: language
2007 Jun 25
0
db:test:clone_structure doesn''t purge db
I''m using a "CHARSET=utf8" option in my migrations, but this isn''t dumped to
schema.rb - a file that test:db:clone uses to create the test database. The
end result is some of my specs fail because they''re expecting the db table
to be using utf8.
to get round this, I switched to using db:test:clone_structure which DOES
preserve the charset option, but when the
2006 Jun 04
0
Re: administrator privileges
I experienced the following problem with an apparent permissions Catch-22 where there's no "root" user to bootstrap from with Samba-LDAP, and found several other people experienced it too. I eventually figured out why a few people are plagued by this problem while most have never seen it, and I solved it. For everyone else who experiences a similar problem, the explanation and
2008 Nov 21
2
[PATCH] drop root privileges on solaris, request for testing
Hello all,
this patch allows master process to drop more root priveleges under
Solaris. My limited testing shows that code works, but I'm not sure
that defined privilege set is permissive enough for dovecot.
Unfortunately I have no root access to our Solaris servers to really
test it. So if someone is ready to test this patch please do it :)
Best regards.
-------------- next part
2019 Aug 16
1
Giving full administrator privileges through sudo on production systems
> On Aug 16, 2019, at 6:21 AM, Warren Young <warren at etr-usa.com> wrote:
>
> On Aug 15, 2019, at 11:04 PM, Bagas Sanjaya <bagasdotme at gmail.com> wrote:
>>
>> Based on above cases, is it OK to give group of random users full administrator privileges using sudo, by adding them to sudoers with ALL privileges? Should sudoers call customer service number instead
2010 Nov 11
1
Permission denied while running rsync as Superuser
We are running rsync (v3.0.7) as superuser (root), with following options ?
/opt/rsync-v3.0.7/bin/rsync --checksum -e rsh --archive --rsync-path=/opt/rsync-v3.0.7/bin/rsync --hard-links --timeout=5184000 --exclude=.snapshot --exclude=../latest --exclude=../previous --delete --compress --stats distuser\@myserver:/source/dir/ /dest/dir
Few files are owned by a user ?jim? with following
2019 Aug 16
0
Giving full administrator privileges through sudo on production systems
On Aug 15, 2019, at 11:04 PM, Bagas Sanjaya <bagasdotme at gmail.com> wrote:
>
> Based on above cases, is it OK to give group of random users full administrator privileges using sudo, by adding them to sudoers with ALL privileges? Should sudoers call customer service number instead of sysadmin when something breaks?
sudo is a tool for expressing and enforcing a site?s policies
2010 Jun 30
5
Reposted from Superuser - Installing Ruby on Rails on Ubuntu 10.04: A Living Nightmare
I''m reposting this here from my original post on Superuser[1], to
hopefully get more relevant feedback from more experienced RoR users.
I need to get a RoR environment up and running, because I have a
client that needs some RoR work done on her website. Although I''m new
to RoR, I''m a quick learner and was expecting installing and setting
up the environment was easy, so
2006 Apr 03
2
problems testing on 1.1 and postgresql
Hi,
I get errors doing this:
1) createdb myapp_test
2) rake db:test:clone_structure
3) rake test:units
rake aborted!
PGError: ERROR: relation "matches" already exists
I''m using the :sql schema format because there are some problems with
postgres and the :ruby schema format
config.active_record.schema_format = :sql
It seems rake test:units is trying to create the tables
2006 Aug 23
1
problems with Oracle: FK, triggers
Hi All!
Is anyone working with Oracle on Rails? What about testing? I will be
very happy if you can help me:
1) When I run rake test:unit it removes all my sequences in test
enviroment. And I get an error like "OCIError: ORA-02289: sequence does
not exist" But when I run rake db:test:clone_structure I can see all
sequences again. Where is a problem?
2) How I can take proper
2000 Dec 18
0
FreeBSD Security Advisory: FreeBSD-SA-00:77.procfs
-----BEGIN PGP SIGNED MESSAGE-----
=============================================================================
FreeBSD-SA-00:77 Security Advisory
FreeBSD, Inc.
Topic: Several vulnerabilities in procfs
Category: core
Module: procfs
Announced: 2000-12-18
2002 Nov 12
2
Forcing privileged ports with ssh -R
Hi,
I have a daemon process which is changings things in the system only the
superuser should be allowed to change. Lets call it "riskyd".
Users use a frontend on the same machine (lets call it "risky"). risky
is a SUID program which talks to riskyd by binding to a privileged port,
then connecting to riskyd on localhost. riskyd cheks that the connection
is coming from
2013 Jun 14
0
Support for deferrable constraints in PostgreSQLAdapter#disable_referential_integrity
I recently submitted a pull-request
(https://github.com/rails/rails/pull/10939) to address a bug in
PostgreSQLAdapter#disable_referential_integrity related to how the
existing code behaves in a transaction when the PostgreSQL user account
lacks superuser privileges on the PostgreSQL instance.
While this permits the code to function without crashing, it doesn''t
actually make
2009 Aug 11
10
Git, Capistrano, Passenger, and Apache Questions
First, I''m trying to do the legwork with utilizing all 4 together
because many people say it''s a good combination to use. I already have
apache setup (was using it with the PHP version of my site formerly).
I''ve installed all gems and dependencies that I need on my slice (using
slicehost).
I have a fully pushed git repository (master) on github (private git)
with one
2007 Jul 08
2
non-privaledged reboot ???
Greetings
On centos 5, if I ssh in as a regular non-superuser account and go to the
sbin dir to issue a reboot command, it wont do it as says you must be
superuser
If you are on the console logged in as a non-superuser account and do the
same thing, it will reboot.
Is this a feature, or a bug?
- rh
2010 Jun 03
2
creating fixtures for has_many :through
I''m stymied at how to create a fixture that establishes a has_many
:through relationship.
I''ve watched the railscast at:
http://media.railscasts.com/videos/081_fixtures_in_rails_2.mov
... but that''s for HABTM relationships. I''ve read:
http://www.ruby-forum.com/topic/145676
but that ultimately doesn''t answer any question. So with no further
ado:
2007 Nov 07
5
Unexplainable failure...at least for me
I have an address model with country_id and province_id fields
There is also a full_address method that returns an address that is in a
format that the google maps api will be able to return a long-lat
coords.
Within the full_address method there is a call to obtain the
province/state and country name.
---------
def full_address
...
full_address = [city, self.province.name,
2008 Dec 20
1
Vista on domain... can Samba join without Administration priviledges?
Hello there,
I have a machine on campus which used to only have Vista. The admins set
up (in Vista) an account for me on the domain and given me administrator
rights (on the local machine). Linux/BSD alternatives are
a no-no here so I did the maverick thing and installed Fedora. But I would
like to have access to domain resources from my GNU/Linux partition if I
can (printing is especially
2010 Jun 25
1
Fwd: Install the 389 directory server error
Hi ,all :
When I install the 389 ds today , there is a very strange thing on
installing it .
Please see the following messages, by the way , I installed the 389 ds
version is 1.1.3 via the rpm packages:
[root at foo dirsrv]# setup-ds-admin.pl
==============================================================================
This program will set up the 389 Directory and Administration