Direct Admin : Root Ownership

May 15, 2007

I'm Running (just) Direct Admin On a Centos 4.3

Due to a typo at the comand line as Root, ive manages to change the owner ship of unknown mounts of files.

The command that was processed (Before it was complete)

chown -R reseller:reseller /

I managed to stop the process ctr+c
and these were the last files to see fly past.
The last one in the list is where it stopped at.

Code:
chown: changing ownership of `/proc/11566/task/11566': Operation not permitted
chown: changing ownership of `/proc/11566/task/11566/fd/0': No such device or address
chown: changing ownership of `/proc/11566/fd/0': No such device or address
chown: changing ownership of `/proc/11572': Operation not permitted
chown: changing ownership of `/proc/11572/task/11572': Operation not permitted
chown: changing ownership of `/proc/11572/task/11572/fd/4': No such file or directory
chown: changing ownership of `/proc/11572/task/11572/cwd': Operation not permitted
chown: changing ownership of `/proc/11572/fd/4': No such file or directory
chown: changing ownership of `/proc/11572/cwd': Operation not permitted
chown: changing ownership of `/etc/X11/X': No such file or directory
chown: changing ownership of `/dev/core': Operation not permitted
chown: changing ownership of `/usr/local/include/libpng/libpng12':

Too many levels of symbolic links

At the moment the server is still running and it seems only to be log in issues with Direct admin. All user / reseller / Admin accounts can no longer log in.

Error after logging in : Unable to determine Usertype user.conf needs to be repaired
No images or nothing

View 4 Replies


ADVERTISEMENT

Dns (using Direct Admin)

Oct 11, 2009

Well what i can i say that direct admin is really pain in the ass, twice i asked in their forum but it was queued for moderation then not published. i'm having a problem setting up my domain 100% correctly.

let me explain more:

Before 1 or 2 weeks, i re-build the server and installed direct admin, but its really harder than other panels and i couldn't figure it 100% how to do,
my website now is running but i have the following problems

1- domain name can not be solved by all people. when i try to ping it it says its not resolvable, while the domain opens for most of users except for very few which gives an error saying can not connect to server

2- i get this error when using intodns.com
[url]
while everything else is ok

3- some of users in some countries access home/admin/domains/sharedip/... while others access home/admin/domains/mydomain.com/... which is the correct one, this causes problems but i temporary solved the problem by uploading files into both folders

View 2 Replies View Related

Direct Admin And 64 Bit OS

Feb 20, 2008

I am trying to install Direct Admin on Cent OS 4.5 ( 64 bit ), but i am constantly getting library files error, one after another,

Example -

./directadmin: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

then

./directadmin: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

then

./directadmin: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

goes on .........

But if i install 32 Bit library files (RPM), for them, they vanish and next error comes, with new file missing

I have tried loading 10 RPM's of 32 bit, but i cant go now forever...

Is there anyway to install Direct Admin on 64 Bit Cent OS?

Is there any 1 RPM file, which i can install and then Direct Admin wont give library problems.. ?

View 6 Replies View Related

Direct Admin & 123-Reg

Sep 30, 2008

As in recent threads i have posted about getting a DA lifetime licence within the next month. I currently get my domains from 123-reg but i am just wondering if someone could help me or if they have an answer to my question!

If i bought a domain from 123-reg and then got a lifetime licence from DA and had it installed onto my server what happens to the nameservers? Like when DA install it onto my box would they sort out the nameservers for my domain aswell like ns1.mydomain.com, ns2.mydomain.com or would i have to pay extra for them?

View 5 Replies View Related

Add Domain Via Direct Admin

Nov 7, 2009

When I introduce myself as a newbie, I do not exaggerate. Hope to slowly change that, thought.

I have recently rented a dedicated server from worldstream and have paid for a lifetime usage of Directadmin. My goal is just to host my own site.

Now I am trying to transfer the my domain to this server. From what I can tell, I need to change the DNS for the domain from it's current DNS.

In the Directadmin control panel under "DNS Administration", I see "Add Zone" which I assume is the step to take. Under "Add zone", it asks for

(1) Domain name (what format would I enter this)

(2) IP Address (I was supplied with three IP's when I signed up with worldstream. Do I just pick one of these?)

(3) Name Server 1 (Unsure of what to enter here)

(4) Name Server 2 (Ditto as above)

I realize this is quite basic for most.

View 2 Replies View Related

Direct Admin With Server

Sep 28, 2008

Just been thinking and currently i host all my services with other hosting companies like my web hosting accounts etc...but was thinking of buying a DA licence and installing it onto one of my linux servers.

On DA's website it says one licence per IP or something along them lines...does this mean if i was to install a licence on say 99.99.99.999 and it was working ok etc but then if i changed my IP range to 99.99.99.998 would that mean the DA licence would no longer be valid?

View 11 Replies View Related

Direct Admin First Install

Sep 5, 2008

First install , so i went to DirectAdmin ,

1- Sigend to User Level and Add Another Domain , i added my domain name

2- signed to Reseller panel , then NameServer and created as
ns1.xxx.com
ns2.xxx.com

3- singed to Admin control panel then to Administrator Settings , the second Tabel where it says 'Server Settings (will restart DirectAdmin)

Server's Hostname : kept it as it the name of the company that provided the server

NS1 : ns1.xxx.com
NS2 : ns2.xxx.com

Now i'm waiting 24 hours for the DNS ..

View 4 Replies View Related

CPanel To Direct Admin

May 12, 2007

I don't start a CPanel vs DA war, but need to get a "what might be different" list re a VPS.

When I got my present VPS (moved from shared hosting) I had it initially set up with DA. All my previous experience had been with CP on my shared hosting account, but I had read about CP being a bit of a resource hog.

When I tried to set up my VPS, I got it wrong. I ended up with 2 instances of "mymainsite.com" on the server. I got so confused talking with support and their UNIX lingo, that I had them switch to CPanel.

I'm probably going to move to another host and thinking of using DA to save RAM.

I'm not a reseller of hosting, just have 20+ small to very small sites. I have a number of mySQL databases that get a fair number of queries. I have 1 vBulletin app but the traffic on that site is VERY low.

So what will I need to learn differently in DA?

-cron jobs
-parked domains
-migrating sites
-backing up sites

View 14 Replies View Related

CPanel To Direct Admin

Apr 29, 2007

I did some searching but didn't find a ton of reliable information. Is there an easy way to move cpanel accounts over to a direct admin box?

View 3 Replies View Related

Whostmgrd :: Stranger IP With Root Ownership And Command

Jun 28, 2008

When I have checked the 'Current CPU Usage' in root WHM there was a stranger IP with root ownership and command: whostmgrd - serving xxx.xxx.xxx.xxx

Also there was my IP with this ownership and command, like every time I am viewing the WHM.

I have blocked this IP with apf immediately, and the root password is changed.

Does it mean someone was in root WHM?

I have a dedicated server with cpanel on centos 4.6 / chkrootkit and rkhunter / all of server's softwares are up to date / compilers disabled for users / php open base dir is enabled and my users do not have SSH access.

View 2 Replies View Related

How To Install Perl With Direct Admin

Oct 30, 2008

How to install perl with Direct Admin?

How to install perl with Direct Admin?

View 4 Replies View Related

Lxadmin Vs Direct Admin Vs Plesk

Jul 22, 2007

there seems to be some debate over which admin panel is the best.

I not looking for anything amaazing in sence of features and add on scrpts. I want it to put hardly any stran on the server and just provide and easy interface for setting up domains, emails databases and ftp accounts.

THe three that have been suggested are

lxadmin
directadmn
plesk

View 3 Replies View Related

Direct Admin License Costs

Aug 9, 2007

I've just had a quote for a VPS that seemed good value for money until the cost of a Direct Admin license was added ($15 extra).

Looking at DA's pricing the cheapest license you can buy is an internal license (in bulk) which is available to server providers only at 9$ a month.

If that is the case why is it that quite a few providers in the offers forum are providing DA for 5$ or 6$?

As these licenses are being offered on low end VPS with tight margins anyway, I can't understand how they can afford to make a loss on the control panel (if they are in fact).

View 8 Replies View Related

How Disable /~username And Openbasedir On Direct Admin

May 21, 2009

i have added

<IfModule mod_userdir.c>

UserDir public_html

</IfModule>

and restart apache. but not work

View 1 Replies View Related

How To Configure Direct Admin To Work With The Domain

Apr 8, 2009

i have just purchased a vps with 1 ip address now i just want one website on the vps can how to configure direct admin to work with the domain.

View 1 Replies View Related

Direct Admin Error On Change Of Skin

Nov 3, 2008

i have a problem i have dedicated server with direct admin panel so i was trying to change the skin to see how it looked but what a surprise it kick me out and now its blank and i cant get in to the directadmin panel anymore with this error msg
"Error: document not found"

View 6 Replies View Related

Direct Admin: Php Mail() Only Sends Email To Certain Domains

Jun 5, 2009

I am currently setting up my server, and are experiencing some problems.

Some of the mails sendt with the php mail() func, ends up in the mail queue in DA, and I get the following error log in DA:

2009-06-04 20:36:02 Received from <> R=1MCHnG-0005uQ-9v U=mail P=local S=1344 T="Mail delivery failed: returning message to sender"
2009-06-04 20:36:02 routing failed for admin@vmnd001.local <admin@munnbind.net> F=<>: Unrouteable address
2009-06-04 20:36:02 routing failed for admin@vmnd001.local <admin@munnbind.net> F=<>: Unrouteable address
*** Frozen (delivery error message)

This only happens with some email domains though. If I set the recipient to my yahoo mail, it works as a sharm, but when I set my other email (<<removed>>) as recipient, i get the error log above.

View 4 Replies View Related

Direct Admin :: Installation Didn't Pass, Halting Install

May 4, 2009

After installing in my vps the Direct Admin panel i got this at the end:

14:11:40 (156 MB/s) - `/etc/named.conf' saved [949/949]

*** gcc is required for compiling, please install gcc (yum install gcc)***
*** g++ is required for compiling, please install g++ (yum install gcc-c++)***
*** cannot find /usr/bin/make. Please make sure that patch is installed (yum install make) ***
Installation didn't pass, halting install.

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

The first command that i was run was:

yum install gcc-g++

*Default username and password for login?

View 2 Replies View Related

Disabled Direct Root Login

Oct 24, 2009

im able to login to root via SU perfectly

One problem: All my old files and folders are owned by ROOT so that means my SU account named XXX cant edit/add/delete anything from my SFTP because of folder/file permission.

Is there anyway my SUDO(wheel) account can still edit these files own by ROOT?

View 3 Replies View Related

Disabling Direct Root Login

Apr 16, 2008

login as: hen
hen@xx.xx.xx.xx's password:
Last login:
hen@root [~]# su -
Password:
su: incorrect password

I verified that root password is correct, but no matter how many times I tried, I can't su in

Where's my su permission
-rwxr-xr-x 1 root wheel 24060 Mar 22 2007 /bin/su*

here's inside /etc/group
wheel:x:10:root,hen

View 14 Replies View Related

Disable Direct Root Login

May 16, 2007

I tried to disable direct root login but had to struggle to find step-by-step instructions and have written the steps one needs to follow to disable direct root login.


This is an additional security measure where we prevent direct root logins and instead create a user to login and then use a command ‘su –‘ to gain root privileges.

The only risk in this procedure is that you may prevent root login but forget to add the user to the wheel group - effectively locking yourself out of the system.

Follow the steps below and you will not face a problem.

STEP 1: Let us create a user and add it to the wheel group.

For e.g. we want to create a user neonix and give him root privileges.

SSH into your server as root and follow the below commands to create a user.

groupadd neonix

useradd neonix –gneonix

passwd neonix

enteryouruserpasswordhere

verifyyouruserpasswordhere

// Please note -g in the second line

// You can replace neonix with any username of your choice.

STEP 2: Add user to wheel group.

Use your browser to Login to your WHM panel and click on Manage Wheel Group Users.

You will see the user you just added (neonix). Select the user and click ‘Add to group’.

You will see that the user has been added –
Users Currently in the wheel group root,neonix

You have successfully added a user to the 'wheel' group who will be able to 'su -' to root.

LOGOUT OF SSH

Before we disable root login, let us check if the user can login and su – to gain root privileges.

SSH into your server as 'neonix'
Login as: neonix
Password : enteryouruserpasswordhere
su –
password: enter root password here

You have successfully logged in and have root privileges. Now let us disable root login.

STEP 3: Disable Direct Root Login

(The below steps are from webhostgear.com)

1. Copy and paste this line to edit the file for SSH logins
pico -w /etc/ssh/sshd_config

2. Find the line
Protocol 2, 1

3. Uncomment it (Remove #) and change it to look like
Protocol 2

4. Next, find the line
PermitRootLogin yes

5. Uncomment it (Remove #) and make it look like PermitRootLogin no

6. Save the file Ctrl+X then Y then enter

7. Now you can restart SSH
/etc/rc.d/init.d/sshd restart

Now, no one will be able to login to root with out first logging in as 'neonix' and 'su -' to root, and you will be forcing the use of a more secure protocol.

Just make sure you remember both passwords!

View 14 Replies View Related

SSH Keys & Direct Root Login Disabled

Jul 3, 2008

Currently I have a server that has direct root SSH access disabled (have to login as regular user then su to root), but I am currently working on setting up authentication via SSH keys, but I can't seem to get it working with direct root SSH access disabled? Is this normal, and if so is there anyway to work around it?

Basically I'd like to be able to authenticate both ways; both with SSH keys or by logging in as a regular user and su to root.

View 8 Replies View Related

Plesk 12.x / Linux :: Difference Between Login - Root And Admin?

Apr 3, 2015

During the installation of Plesk, at first it used the root password, and then had me create an "admin" user.

When I log in using either I don't see any difference in the UI or options. Is there a difference or a reason to use one over the other?

Or is it just to give someone access to admin Plesk without giving them full root password of the server itself?

View 3 Replies View Related

/tmp Ownership

Dec 6, 2008

when i run CSF security check i get

Check /tmp ownershipWARNING/tmp should be owned by root:root
the /tmp seems to be set to nobody:nobody
Is it a Security Risk.?
Other options are set fine on /tmp
Check /tmp permissionsOK
Check /tmp is mounted as a filesystemOK
Check /tmp is mounted noexec,nosuidOK

running centos + cpanel and Apache 1.3.x

View 6 Replies View Related

RackEdge Ownership

Jan 11, 2009

Does anyone here know who owns Rackedge NL? Are they a member of this forum? I am having a real bad problem, that certainly defy's logic and reason and i can’t seem to get any replies from either member McRox or the Support team.

Rather than posting wildly around the net about them and this issue, I would prefer to first ensure this isn’t just a big misunderstanding, so any details anyone can offer on this.

There is only 3 people i have been in contact with in this company
McRox (Member of this forum)
Tony Deeman (Support)
John de Groot (Sales)

View 12 Replies View Related

Sftp File Ownership

May 19, 2009

I have it setup and have a user created that can upload files to my website.

The problem that I am running in to is that the files that this user uploads are owned by him not the cpanel website user. Thus when I try to view the page in my browser I get a server 500 error since the site is set to only serve up pages that are owned by the cpanel website user.

When using FTP in the same way we did not have this problem as the file that was uploaded would automatically be owned by the cpanel website user.

View 0 Replies View Related

Control Panel And Ownership

Jun 11, 2009

i got a unmanaged vps and i do not know why i often see folders and files ownership belonging to apache instead of myself and i have to manually reset ownership via directadmin file manager or ssh in to do it....can anyone advise me how to fix this problem as in anything i can do to stop all these apache ownership problem...

Another thing about directadmin, i select all folders and files at once trying to reset ownership but i always get an error and have to reset ownership one by one wasting time....

View 3 Replies View Related

Change Ownership To Nobody : Apache

Nov 21, 2008

One of my customers wants me to change the ownership to nobody and group to apache in a directory created in the home directory of his website. I want to know whether doing so will pose any security problem. Also is there any advantage of changing the owner to nobody and group to apache?

View 11 Replies View Related

Apache Keeps Taking File Ownership

Apr 8, 2008

FreeBSD 7.0
Apache 2.2
PHP5
Mysql 5.1

I have been battling this for a while. A user will setup a CMS like joomla, e107, etc and every time the CMS changes files either with user interaction on the website or the admin changing things in their cms admin web page, apache takes ownership of the files.

I have tried installing suPHP, FastCGI, and most recently suexec. I am not having any luck with this. I really don't know what I am doing with these recent additions but meanly going on suggestions. Does anyone know of a walk through to fix this permission problem? Anyone with some good advise? Surely not everyone is having to write a script to chown each user's dir and run a cronjob every 5 minutes.

View 8 Replies View Related

Changing Ownership Of Multiple Accounts In CPanel Using SSH

Nov 7, 2009

I have to mass change the ownership of accounts and I find "Change Owner of Multiple Accounts" tedious.

I found a bash script but I'm not sure if this works

Quote:

#!/bin/bash
IFS="$"

cd /var/cpanel/users

if [ $# = 2 ]; then
replace "OWNER=${1}" "OWNER=${2}" -- /var/cpanel/users/*
else
echo "USAGE: ./${0} <old reseller login> <new reseller login>"
fi

If that works, how can I tweak it so that the change in ownership of accounts will be based in the hosting package and not in the old reseller account?

View 3 Replies View Related

Am I Correct The R1soft Does Not Preserve Permission/ownership

Aug 9, 2008

Am I correct the r1soft does not preserve permission/ownership?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved