Find the answer to your Linux question:
Results 1 to 6 of 6
Dear all, I was deleting a user account named 'peter' from a root login with the following command: userdel -rf peter This attempt returned a message: no crontab for peter ...
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    20

    TEC: Complete deletion of user - crontab related

    Dear all,

    I was deleting a user account named 'peter' from a root login with the following command:

    userdel -rf peter

    This attempt returned a message:

    no crontab for peter


    Disregarding the message, I added user 'peter' again by KUser (GUI login using root account). I am able to login X with 'peter' using Gnome, but there are unexpectingly SUPER slowdowns in nearly every operations from logging in to opening any application say for instance the xterm. I tried using the KUser from root login to deleting and recreating 'peter' again, but same thing happened.



    Can anyone kindly suggest any hints to me, please? Thank you!




    -Charles

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    run top and see if you have some process that is eating high amounts of cycles.

    If there is you can stop it by

    kill PID

    where PID is the process ID

  3. #3
    Just Joined!
    Join Date
    Feb 2007
    Posts
    20
    Dear all,

    Thanks for your insights, though I have already re-installed 'cuz nothing is working properly ... Luckily I don't have any personal data in my previous installation.


    Thanks.



    -Charles

  4. #4
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    note

    If you have a home that is in it's on position you can tell the installer not to reformat that partiton but to mount it as home on the new install thus saving personal data.

    If it turns out the problem is with configuartion data in home then try adding a new user if this fixes the problem you can move the data from your old handle to your new one (note you must change permissions on the files moved!)

  5. #5
    Just Joined!
    Join Date
    Feb 2007
    Posts
    20
    Noted.

    But then the strangest thing is that even if I had userdel -rf that user but still I can't reuse his name again. I really believe it gotta be the crontab issue causing troubles. I just wanna know why.


    Anyway, again, thanks!

  6. #6
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    since you have a slow down you might want to see if you have a runaway process somewhere. from consol run

    top

    this will show an updated list of the top process consuming cpu.

    also you might want to do a ps -A as root to see if you have any duplicate processes. I had a situation where for some still unkown reason two copies of kdesktop got started and interfered with the sound system. This was user dependent and creating and running as a "new" user (ie different name) solved the problem.

    Also had a slow down of the graphics due to nano not quiting when a console running it was simply closed and it consuming too much CPU. Solution was to kill the runaway process or simple be sure nano is closed before closing the console window.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...