JameoPotato
May 22nd, 2008, 03:12 AM
When the 8.04 server starts up it seems to be going well until it I see numerous processes beginning to fail all because of incorrect logins.
ex, "invalid user 'www-data'" shows up for a lot of things including saying users are "Dovecoat" and "root"
Along with this i cannot login to my regular account anymore.
UPDATE:
So after doing a bit of googling i discovered that i overwrote a crucial file that store login information... /etc/passwd .
Just in my defense the reasoning behind me choosing that file was because htpasswd was refusing to write to /etc/vsftpd/passwd... so i decided "Hey lets just move it up a directory" well go figure that one directory up was a crucial file.
So new question is:
How do I get myself out of this pickle. It there anyway to recover this file? Would it have been unique to my user? Could I copy and write it from the recovery shell??? Is there a such this as system restore in ubuntu??
ex, "invalid user 'www-data'" shows up for a lot of things including saying users are "Dovecoat" and "root"
Along with this i cannot login to my regular account anymore.
UPDATE:
So after doing a bit of googling i discovered that i overwrote a crucial file that store login information... /etc/passwd .
Just in my defense the reasoning behind me choosing that file was because htpasswd was refusing to write to /etc/vsftpd/passwd... so i decided "Hey lets just move it up a directory" well go figure that one directory up was a crucial file.
So new question is:
How do I get myself out of this pickle. It there anyway to recover this file? Would it have been unique to my user? Could I copy and write it from the recovery shell??? Is there a such this as system restore in ubuntu??