[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 110: Undefined array key "cached"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 111: Undefined array key "normal"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 112: Undefined array key "total"
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3391: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3393: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3394: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3395: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
Cabrillo College Linux Classes • View topic - /etc/passwd

/etc/passwd

UNIX/Linux System Administration

/etc/passwd

Postby denise gant on Fri Oct 31, 2008 6:26 pm

since editing gimli's /etc/shadow file, my root password is no longer being accepted...
[color=#8000BF][b]Think like you have no brain[/b][/color]
User avatar
denise gant
 
Posts: 67
Joined: Tue Sep 02, 2008 7:13 pm

Re: /etc/passwd

Postby janischaffin on Sun Nov 02, 2008 10:09 am

I had to revert to snapshot after editing gimli's paswword using vipw.

Isn't it bad form to allow users to not have passwords? I say as administrators we would deny such a request!

Did you use vipw?
janischaffin
 
Posts: 43
Joined: Tue Sep 02, 2008 6:49 pm

Re: /etc/passwd

Postby denise gant on Mon Nov 03, 2008 12:29 pm

As a matter of fact, I did use vipw. Do you suppose that's the issue or was it a matter of which order you do it???
[color=#8000BF][b]Think like you have no brain[/b][/color]
User avatar
denise gant
 
Posts: 67
Joined: Tue Sep 02, 2008 7:13 pm

Re: /etc/passwd

Postby Rich Simms on Wed Nov 05, 2008 8:46 am

Hi Denise,

There is a process to use to resolve these kinds of problems. It will require some more work on your part to make it happen.

For me this is what I would call a "can't duplicate" .... I cannot duplicate the issue you saw my own Benji VM. To pursue it further you will need to reproduce the issue again on your system and document the exact steps you used so the problem can be replicated on other systems.

The vipw command is [i]supposed[/i] to provide a reliable tool for editing /etc/passwd and /etc/shadow. I've used vipw to remove Gimli's password without impacting root's ability to login. The root cause of this problem could be a defect (software bug) in vipw or pilot error.

To get to the root cause of this problem here is what I need you to do:

1) Make the problem happen again on your system.
2) Document the complete set of steps to to allow the problem to be replicated on another system.
3) If your root login is disabled again, try to boot up in single user mode and post your /etc/passwd and /etc/shadow files on the forum so we can analyze them.

From looking at those files and being able to replicate the problem on another system we should be able to figure out the root cause of the problem.

- Rich
User avatar
Rich Simms
Site Admin
 
Posts: 640
Joined: Thu May 15, 2008 2:44 pm


Return to CIS 191B - Fall 2008

Who is online

Users browsing this forum: No registered users and 0 guests

cron