Re: How to remove a user. Problems after firstboot crashed on F9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2008-08-03 at 20:28 +0200, Nigel Henry wrote:
> Having installed Fedora 9, I rebooted, and firstboot ran. Entered my Actual 
> name, then username, followed by password. After repeating password as 
> requested, firstboot crashed. It was late, and I'm not sure if the machine 
> was auto rebooted, or just locked up. Either way, when I next booted the 
> machine (and a lot of stuff skipped here) I ended up with a login screen, 
> which showed my real name, and hovering the mouse over my name said logging 
> in as djmons. That's ok, as it was the correct username, but entering the 
> password to login to Gnome just brought me back to the login screen. I use 
> KDE, so chose to login to KDE next, and got the following output.
> 
> Could not start kstartupconfig4.
> Check your installation
> 
> This appears to be the result of firstboot crashing when setting up 
> user/password, as when I booted into runlevel 3, and tried to login as 
> djmons, I got the following output.
> 
> localhost login: djmons
> Password:
> No directory /home/djmons
> Logging in with home = "/".
> 
> This is getting frustrating now, but su to root, and create a new user. I now 
> reboot, and the login screen shows one entry for my real name, and a new 
> entry for the new user I have created. Logging in to either Gnome, or KDE, as 
> the new user presents no problems, and can login to either Gnome, or KDE.
> 
> The question is. How do I remove the original user that was partially setup 
> before firstboot crashed.
> 
> If I run adduser, It says that djmons is already a user, but logging in as 
> djmons has no access to /home/djmons, as apparently the /home/djmons 
> directory does not exist.
> 
> How do I remove djmons, as a user from the system, so that he no longer 
> exists? Then I can recreate the original user (djmons), and hopefully be able 
> to access both Gnome and KDE.
> 
> I've never had such problems before with Fedora like this.
> 
> Is firstboot crashing a known problem?
> 
> Thanks for any help with this problem.
> 
> Nigel.
> 
If userdel does not work then one can use the brute force approach.
That i, rm the entry from. passwd, shadow, group and then remove the
home directory.
--
=======================================================================
To err is human, but when the eraser wears out before the pencil, you're
overdoing it a little.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux