Passwd- And Shadow- Files

Apr 5, 2009

I have been googling this for a while but am not getting anywhere. Curiosity has gotten the best of me, what are the passwd- and shadow- files used for? The date and time stamps for both the passwd- and passwd files are exactly the same, as are the shadow- and shadow files.

Are they automatically-created backups of the passwd and shadow files?

View 2 Replies


ADVERTISEMENT

Unable Read /etc/passwd. /etc/passwd MUST Be World Readable Under UN*X Operating Sys

Feb 14, 2008

i run one bad command :-(

chmod -R 644 /

and this command changes all permision in root server
have any away for fixed all permision in centos?

because all site take error

i use of cpanel

View 14 Replies View Related

Permission Denied: /home/airtrade/etc/airtrade.com.tw/passwd Passwd

Jul 20, 2008

Permission denied: /home/airtrade/etc/airtrade.com.tw/passwd passwd this is the error message obtained upon trying to create email accounts in cpanel.

the present permissions of the passwd file is 644 and ownership is username nobody i tried changing it to username.mail but still the same error

View 1 Replies View Related

/etc/passwd

Mar 4, 2007

root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0ync:/sbin:/bin/sync
shutdown:x:6:0hutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0perator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
dbus:x:81:81ystem message bus:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
rpm:x:37:37::/var/lib/rpm:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
netdump:x:34:34:Network Crash Dump user:/var/crash:/bin/bash
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
sshd:x:74:74rivilege-separated SSH:/var/empty/sshd:/sbin/nologin
rpc:x:32:32ortmapper RPC user:/:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
pcap:x:77:77::/var/arpwatch:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
htt:x:100:101:IIIMF Htt:/usr/lib/im:/sbin/nologin
canna:x:39:39:Canna Service User:/var/lib/canna:/sbin/nologin
wnn:x:49:49:Wnn Input Server:/var/lib/wnn:/sbin/nologin
named:x:25:25:Named:/var/named:/sbin/nologin
mysql:x:101:102:MySQL server:/var/lib/mysql:/bin/bash
mailman:x:32001:32001::/usr/local/cpanel/3rdparty/mailman:/bin/bash
cpanel:x:32002:32003::/usr/local/cpanel:/bin/bash
johnny:x:32003:32004::/home/dorn:/usr/local/cpanel/bin/noshell
angel:x:32004:32005::/home/angeliq:/bin/false
clamav:x:32015:32017:Clam AntiVirus:/home/clamav:/bin/false

I heard it may pose a security risk for those unneeded users. Which lines can I remove?

View 1 Replies View Related

Passwd For SSH

Oct 21, 2007

i been wonder today when i try to login my account @box by SSH 21

the password is changed i think!

and when i see the logs files there is no stranger ip!

and there is no email about changeing password for my mail!

i tried to log in by another account in my server and trying to su root permission by my password

but passwd incorect!

and i change the Mysql root passwd and same thing

my support they sleep before 3 days so i should to figure my problem alone...

how to reset my root ssh passwd?

am useing Plesk VPS ...

View 8 Replies View Related

How Can I Save My /etc/passwd File

Nov 3, 2007

how can i save /etc/passwd there is many linux order which show my users on server
such as :

cat /etc/passwd
cat /var/cpanel/acounting.log
ls -la /etc/valiases
ls /var/named

-----------------
and how can i disable the geting orders
such as :

wget
curl -o
lynx

View 8 Replies View Related

User Can See /etc/passwd. How To Stop This

Sep 1, 2007

We have CentOS and WHM 11 on the server. Also we have PHP 4.4.4 and open base dir enabled on the server . We have a shared server with many website configured on it.

Now The user uses the following PHP code and can see the /etc/passwd file
=============================================
<?
echo ini_get("safe_mode");
echo ini_get("open_basedir");
include("/etc/passwd");
ini_restore("safe_mode");
ini_restore("open_basedir");
echo ini_get("safe_mode");
echo ini_get("open_basedir");
include("/etc/passwd");
?>
============================================

Now how to stop this. This is a security hole. how to stop this.

View 11 Replies View Related

Enabled Suphp But Still Can Read /etc/passwd

Nov 8, 2008

It there any good way to stop using from reading /etc/passwd?

I have suPHP enabled and open_basedir enabled by WHM too. But it seems susphp ignores open_basedir restrictions?

Here is virtual host config:

<VirtualHost x.x.x.x:80>
<IfModule concurrent_php.c>
php4_admin_value open_basedir "/home/xxx/:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/p$
php5_admin_value open_basedir "/home/xxx/:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule !concurrent_php.c>
<IfModule mod_php4.c>
php_admin_value open_basedir "/home/xxx/:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/li$
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/xxx/:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule sapi_apache2.c>
php_admin_value open_basedir "/home/xxx/:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/li$
</IfModule>
</IfModule>
ServerName xxx.com
ServerAlias www.xxx.com
DocumentRoot /home/xxx/public_html
ServerAdmin webmaster@xxx.com
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/xxx.com combined
CustomLog /usr/local/apache/domlogs/xxx.com-bytes_log "%{%s}t %I .
%{%s}t %O ."
## User xxx # Needed for Cpanel::ApacheConf
<IfModule mod_suphp.c>
suPHP_UserGroup xxx xxx
</IfModule>
<IfModule !mod_disable_suexec.c>
SuexecUserGroup xxx xxx
</IfModule>
ScriptAlias /cgi-bin/ /home/xxx/public_html/cgi-bin/
DocumentRoot /home/xxx/public_html
ServerAdmin webmaster@xxx.com
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/xxx.com combined
CustomLog /usr/local/apache/domlogs/xxx.com-bytes_log "%{%s}t %I .
%{%s}t %O ."
## User xxx # Needed for Cpanel::ApacheConf
<IfModule mod_suphp.c>
suPHP_UserGroup xxx xxx
</IfModule>
<IfModule !mod_disable_suexec.c>
SuexecUserGroup xxx xxx
</IfModule>
ScriptAlias /cgi-bin/ /home/xxx/public_html/cgi-bin/
# To customize this VirtualHost use an include file at the following location
# Include "/usr/local/apache/conf/userdata/std/2/xxx/xxx.com/*.conf"

</VirtualHost>

Scripts are running with user's UID, and that is fine, but it can still read /etc/passwd file for example.

How to fix that? Is it really open_basedir value is ignored by susphp? It works fine if I remove suphp and run scripts with nobody uid.

View 10 Replies View Related

Passwd: Authentication Token Manipulation Error

Mar 8, 2009

I set up a new account for a client using my reseller. He went to change the password and he is getting this error

There was an error manipulating the password file. This generally means you entered your old password incorrectly.

Changing password for user xxxxx.

Changing password for xxxxx

(current) UNIX password:

passwd: Authentication token manipulation error

The thing is, he is putting the password in correct. I made sure of that

I am able to change it in whm and i am able to log in to the account, i just cant change the password from cpanel

View 3 Replies View Related

Resetting A Root Password After /etc/passwd / Strangeness

Dec 27, 2007

We've had a customer do something strange to their server. They were playing with /etc/passwd or /etc/shadow or similar (not quite sure of the details) but the upshot is booting the server into single user and trying to reset the password via passwd gives

passwd root (and any user)
passwd: Authentication token manipulation error

So far I've

Replaced /etc/passwd* and /etc/shadow* with a copy from another server
Turned off SeLinux
/etc/pam.d/passwd is fine
Root file system is r/w

View 1 Replies View Related

Transferring 200 Files : Total Files Size Is 25 GB!

Jan 2, 2008

I couldn't keep my mouth shut (technically fingers). A customer wanted to upgrade servers and he needed a way to move the data across. Since I don't allow hard drives to be swapped, they have to do it manually all by themselves. I generally allow up-to 4 days for them to transfer data and make DNS changes, etc. But this time, I offered help! I agreed to move the data (darn me) and it just came out of me, involuntarily.

God knows what just happened... but in a positive way, customer is extremely happy!

So...

Both servers are on cPanel - with root access (duh)

200 odd files which total to 25 GB

1 database about 100 MB in size (no biggie)

I was planning on using one of my Windows 2003 servers (via remote desktop) to download the 25 GB and upload the 25 GB, but that sounds like a waste of resources and time.

View 8 Replies View Related

Disabling Fopen("/etc/passwd","r");

Jul 18, 2007

I were seeing c99.php source code to know how it gets /etc/passwd file. it simply uses fopen() for this goal but I think fopen() is needed and I don't like it to be disabled in disabled_functions. I wonder how can I disable just fopen("/etc/passwd","r"); without doing any restriction to fopen function at all

View 8 Replies View Related

Gap In Log Files

Dec 21, 2008

i had a problem with one of my servers

due to changes in the firewall couldn't i login anymore.

Someone had to go over and undo that modification.

Now i am checking the log files like secure and
messages logs, but logs of the day he logged in are simply not
there (along with some days more).

View 3 Replies View Related

Can Not See The Files In FTP

Jul 20, 2008

When I upload a file in FTP I can not see the file, When I upload the file again asked me to file any replaced it exists, When using Cpanel can upload any file, And working well.

When watching the size of folders I find little in the FTP but sized Cpanel see him very different.

I have done this:

1-Restart FTP Server.

2-permit folders to 644.

3-permit files to 744.

View 2 Replies View Related

See Os Files

Jun 3, 2007

Is there a way to see your os files in ftp software like cute ftp n edit them?

View 3 Replies View Related

Log Files

Mar 26, 2007

i received this message for my host

"The proxy sites hosted on your server are being used to send spam comments on blogs"

How can i view the log files in order to find that info and block the domains or IP?

I am on Centos.

View 2 Replies View Related

Php Files Pop-up Sometimes

Jan 28, 2007

In the last couple of days my server/website has been acting a little strange and I can't recall doing anything to it in this time.

1) Now and again a normal PHP page will pop-up in the Firefox download manager. Usually the page is simply compiled and shown to the browser.

2) Images that really are present on the server sometimes randomly don't show in IE.

PHP 5.1.4
MYSQL 5.0.27
Apache 1.3.37
APC 3.0.12p2 (latest)

View 3 Replies View Related

Nobody Files Always Appear On My /tmp, How To Trace Where They From?

Jul 26, 2006

I found that recently a lot of nobody files appear in my /tmp.

I delete and delete.. by still same. I don't know how to trace where they from. I suspect is from my hosting users, but I don't know how to check and trace. Anybody can give me some guide?

View 5 Replies View Related

My Site Cannot Run Php Files

Jun 2, 2009

my site cannot run php files

move from server 1 to server 2

another site no ploblem move from server 1 to server 2 too

What ploblem i need fix this

here my site

[url]

View 5 Replies View Related

Video Files

Mar 20, 2009

Can anyone recommend the best cost-effective solution for serving up video files to websites on other servers?

Basically looking for a central storage location to hold video files (flv, swf) that will be hotlinked from websites on other servers.

I'm currently using about 200GB bandwidth monthly, and need to increase that to about 500GB without violating any TOS or getting cut-off/suspended.

Not sure if the best option will be a hosting account, file storage site, etc.

View 4 Replies View Related

Uploading Files

Jan 28, 2009

I've just uploaded my website files onto the server, the website is working fine, but I'm not sure my files are 'arranged' right. I uploaded my images in a folder, but all the rest of the files are 'loose' along with the index file. If I go to either of my domain names, the website appears, which is ok for now, but I only really intended it to under one domain name, so there may be problems if I want another site up there. I think my files should be in a folder. Is this right? Should the index file be in the same folder, or should it be outside the folder with the links changed accordingly. I've been emailing my hosting service, and they 've been trying to help, but I feel a bit thick because I don't really understand what they're saying. Could someone tell me in very plain english how the files should be arranged?

View 11 Replies View Related

Uploading Big Files

Jun 23, 2009

i just bought php file management script, its running smoothly, the only problem was i cant upload big file ( > 1 Gigs ) using that script, then i ask the developer and he said it shouldnt be a problem since he sold that software before people and he never got a problem like that.

OS : Slamd64
apache 2.2.10
php 5.2.8

i tried to changed
post_max_size = 1900M
upload_max_filesize = 1500M

View 10 Replies View Related

Copying Certain Files

May 20, 2009

There is a directory with many files and subdirectories. I want to copy ALL the filesnames beginning with post-1111 to another folder. What is the command to do this?

View 5 Replies View Related

Stream Mp3 Files

Jan 19, 2009

Whcih kind of server would i need to stream mp3 files, similar to this site....

I was told a vps shared server with high bandwidth would do, i was also told by server crowd id need dedicated?

View 14 Replies View Related

How To Organize 500.000 Files

Jun 15, 2009

I run a fairly popular file hosting service and in the process of moving servers.

At the moment i have a system that automatic create a new folder each day and store new uploaded files into this folder. The name of the folder match the current date etc.

Example:
/2009/06/15/...

I find this system a bit "outdated" and belive there is a smarter way to do this.

My new fileservers contain ~10TB of available diskspace (each).
Average filesize is around 10MB.

I was told not to put all the files into one folder, still the case?

View 3 Replies View Related

Show All Files

Mar 29, 2009

im on a vps with linux and directadmin installed, how do i activate the function to show all files in ftp including hidden files and also how to prevent hidden files from creating?

I need to perform this functions on multiple accounts under my vps, how do i do it?

View 1 Replies View Related

Cant Delete Files

Jul 12, 2009

im try to delete some file from cpanel but everytime i delete nad refresh they come back
also if i try to change the perms it does not let me?

View 14 Replies View Related

Restore *db Files

Apr 28, 2009

i deleted the files db files in /var/named/

how could i can restore it?

what i want is how can i recreate the dns zone files again for all my accounts in the server

note : i have whm/cpanel running on centos box

View 3 Replies View Related

Odd Files Appearing

Nov 9, 2009

Why would .bash_history, .cups and .fontconfig would have suddenly shown up among the contents of a specific directory?

View 4 Replies View Related

How To Delete Files

Aug 13, 2008

i have installed the Domain Technologie Control Panel on Debian Etch, and have 2 folders that will not delete via FTP

I was wondering if anyone had a tutorial or could tell me how to be able to delete them....

View 14 Replies View Related







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