-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 04 October 2003 11:27 am, Mikko Työläjärvi wrote:
> On Sat, 4 Oct 2003, Eric F Crist wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hello,
> >
> > I'm sure you're all getting sick of my being so vocal, but here goes
> > anyway.
> >
> > I was messing around as root in KDE and found the KUser application.  I
> > tried adding a user (my girlfriend), and when done, nobody could log in. 
> > I managed
>
> Mmm... GUIs.
>
> > to boot into single user, which logged me in a toor.  I had to mount the
> > file systems r/w and finally got my username's password reset, after
> > finding a bunch of format errors in the /etc/master.passwd file.  My
> > problem is that the was no root user listed, just toor and all the
> > others.  How can I change
>
> If your machine has been up and running for a while, you will have
> backup files in /var/backup.  Have a look at
> /var/backups/master.passwd.bak. If it looks contains everything you want,
> copy it to /etc/master.passwd. Otherwise just edit /etc/master.passwd and
> add the root entry. The default one without password looks like:
>
>  root::0:0::0:0:Charlie &:/root:/bin/csh
>
> Then run "pwd_mkdb -p /etc/master.passwd" and you're back in business.
>
> > this?  Also, I've set the console as insecure, so it's going to ask me
> > for a root password.
>
> This is controlled in the file "/etc/ttys".
>
>      $.02,
>      /Mikko

Mikko,

Thanks for the reply.  I found what you spoke of as you were probably sending 
this reply.  That's exactly what worked.  However, the /etc/ttys file isn't 
editable if you're not root, so I simply changed my uid to 0 from single user 
to edit these things.  (turns out i didn't set the insecure mode correctly, 
anyways.

Thanks for the help!
- -- 
Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/fvnUWxy3JtXvWloRAqF+AJ9TN5Juqv5jj4hKPx+2P/EdMBmFiwCgs0WJ
PY1xlKG/e0lT3AYiOsXha1s=
=wEoj
-----END PGP SIGNATURE-----

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to