Re: Cannot Login After Using Kuser to setup Accounts
On Mon, 11 Apr 2005 21:54:46 -0500 "amcinroy" <[EMAIL PROTECTED]> wrote: > I have FreeBSD 4.10 installed. Everything was fine till I ran kuser > and rebooted. It said my root password was incorrect even though I > hadn't changed it! I followed the advice I read on one of your posts. > The backup passwd file didn't help. Also when I tried to change to > default passwd file, I received the message that src wasn't a > directory. I manually went to /usr/src it is indeed there but I can't > cd to it! Help! you can try booting into single user mode if you did not disable that (instead of booting the kernel, pause it, and type : boot -s ) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot Login After Using Kuser to setup Accounts
I found this problem too,It's like that kuser isn't useful at all.Is there a good GUI user manage progrgram? On Apr 12, 2005 10:54 AM, amcinroy <[EMAIL PROTECTED]> wrote: > I have FreeBSD 4.10 installed. Everything was fine till I ran kuser and > rebooted. It said my root password was incorrect even though I hadn't > changed it! I followed the advice I read on one of your posts. The backup > passwd file didn't help. Also when I tried to change to default passwd file, > I received the message that src wasn't a directory. I manually went to > /usr/src it is indeed there but I can't cd to it! Help! > > Alan McInroy > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot Login After Using Kuser to setup Accounts
On Wednesday, May 19, 2004 3:00:52 PM Matthew Seaman <[EMAIL PROTECTED] wrote: |>Date: Wed, 19 May 2004 16:22:19 +0100 |>From: Matthew Seaman <[EMAIL PROTECTED]> |>Subject: Re: Cannot Login After Using Kuser to setup Accounts |>To: Mark Teel <[EMAIL PROTECTED]> |>Cc: [EMAIL PROTECTED] |>Message-ID: |> <[EMAIL PROTECTED]> |>Content-Type: text/plain; charset="us-ascii" |> |>On Wed, May 19, 2004 at 09:23:24AM -0500, Mark Teel wrote: |>> On a fresh install of FreeBSD 5.2, after I add a user via kuser, when I |>> logout I cannot log back in! |>> I get a message stating that the "accound" has expired, even for the |>> root user. |>> |>> Please help as this has rendered my system unusable. |> |>Hmmm... This sounds like a bug in KDE that was fixed some months ago. |>It would scramble the contents of the /etc/master.passwd file. |> |>To get the system back into a working state, reboot into single user |>mode (ie. wait until the 10 second countdown before booting the |>kernel, hit a key to interrupt and then type 'boot -s' and then just |>hit return when prompted to choose a shell. |> |>Now you should be able to restore the master.passwd file from the |>backup copy automatically kept in /var/backups. Try the following |>series of commands: |> |># fsck -p |># swapon -a |># mount -a |># cd /etc |># mv master.passwd master.passwd-`date +%Y%m%d` |># cp /var/backups/master.passwd.bak master.passwd |># pwd_mkdb |># reboot |> |>That should restore the password file to the state it was before you |>tried the changes that caused all of the trouble, and you should now |>be able to log in. If you haven't got a good copy of a password file |>in /var/backups, you can use the default installation password file |>from /usr/src/etc/master.passwd instead, but remember to set a root |>password immediately after you copy it into /etc. |> |>Once you're back up and running properly, update your ports tree using |>cvsup(1) and install the latest versions of the KDE software -- using |>portupgrade(1) [from the sysutils/portupgrade port] is probably the |>most pleasant way to do that, but be sure and check in |>/usr/ports/UPDATING to see if there are any special measures you need |>to take. Or you can grab precompiled packages from the FreeBSD FTP |>servers. |> |> Cheers, |> |> Matthew |> |>-- |>Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks |> Savill Way ** Reply Separator ** Wednesday, May 19, 2004 6:19:56 PM I had the exact same problem recently. I reported it as a bug to KDE. That bug report is still open as far as I can tell. It appears to be a randomly occurring phenomena. Gerard Seibert [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot Login After Using Kuser to setup Accounts
On Wed, May 19, 2004 at 10:23:24 EDT, Mark Teel scribbled these curious markings: > On a fresh install of FreeBSD 5.2, after I add a user via kuser, when I > logout I cannot log back in! > I get a message stating that the "accound" has expired, even for the > root user. Looks like you got bitten by a bug in KUser that was shipped with FreeBSD 5.2. This has been fixed in the latest version. As a fix, try booting into single user mode, mounting your filesystems (it's important to mount them rw), and then fixing your passwd database with vipw. Regardless of whether that fixes things or not, it's a very good idea to update KDE to the latest version (or just use the robust user and group administration tools that have shipped with FreeBSD and that have worked for years). -- I abhor a system designed for the "user", if that word is a coded pejorative meaning "stupid and unsophisticated". -- Ken Thompson - Unix is user friendly. However, it isn't idiot friendly. - Please CC me in all replies, even if I'm on the relevant list(s). pgpITL9raEAbo.pgp Description: PGP signature
Re: Cannot Login After Using Kuser to setup Accounts
On Wed, May 19, 2004 at 09:23:24AM -0500, Mark Teel wrote: > On a fresh install of FreeBSD 5.2, after I add a user via kuser, when I > logout I cannot log back in! > I get a message stating that the "accound" has expired, even for the > root user. > > Please help as this has rendered my system unusable. Hmmm... This sounds like a bug in KDE that was fixed some months ago. It would scramble the contents of the /etc/master.passwd file. To get the system back into a working state, reboot into single user mode (ie. wait until the 10 second countdown before booting the kernel, hit a key to interrupt and then type 'boot -s' and then just hit return when prompted to choose a shell. Now you should be able to restore the master.passwd file from the backup copy automatically kept in /var/backups. Try the following series of commands: # fsck -p # swapon -a # mount -a # cd /etc # mv master.passwd master.passwd-`date +%Y%m%d` # cp /var/backups/master.passwd.bak master.passwd # pwd_mkdb # reboot That should restore the password file to the state it was before you tried the changes that caused all of the trouble, and you should now be able to log in. If you haven't got a good copy of a password file in /var/backups, you can use the default installation password file from /usr/src/etc/master.passwd instead, but remember to set a root password immediately after you copy it into /etc. Once you're back up and running properly, update your ports tree using cvsup(1) and install the latest versions of the KDE software -- using portupgrade(1) [from the sysutils/portupgrade port] is probably the most pleasant way to do that, but be sure and check in /usr/ports/UPDATING to see if there are any special measures you need to take. Or you can grab precompiled packages from the FreeBSD FTP servers. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp3HyTzHX2P5.pgp Description: PGP signature