Results 1 to 6 of 6

Thread: Disabled user account in CentOS 5.5

  1. #1
    Join Date
    Jan 2011
    Posts
    55

    Disabled user account in CentOS 5.5

    I totally new to Linux based operating system. Well I have recently installed CentOS 5.5 on the computer of mine. I have added the user accounts on the server for the email purposes and simply added the forwarded file on the user directory. Well I wanted to disable all the user accounts without having any password which have disabled the user account which I have created. I am unable to figure out anything to fix the problem of mine. Thanks a lot in advance.

  2. #2
    Join Date
    May 2008
    Posts
    991

    Re: Disabled user account in CentOS 5.5

    Looking at the situation which you have provided over here I am sure that the password of the that particular user account would be ungussable. Well according to me the password for that particular account would be into the bin, daemon or admin directory of the computer. I think you need to login into the system as a root and simply look into the directory which I have mentioned over here.

  3. #3
    Join Date
    May 2008
    Posts
    1,020

    Re: Disabled user account in CentOS 5.5

    You told me that the user of the newly created user account is unable to login into the computer of yours. Hence I am suggesting that you should explicitly set the login shell to the /sbin/nologin by using the following piece of the code on the terminal of the computer.
    Code:
    chsh -s /sbin/nologin <username>
    So use the above mentioned command on the terminal and let me know about the results.

  4. #4
    Join Date
    Nov 2009
    Posts
    824

    Re: Disabled user account in CentOS 5.5

    I think I am having another solution which you can apply to get the requirement of yours. I am suggesting that you should use ‘usermod’ command without using any quotes on the terminal in following manner.
    Code:
    /usr/sbin/usermod -s /bin/bash <username>
    Here <username> name of the user which is being used into bash directory of the system of yours.

  5. #5
    Join Date
    Apr 2009
    Posts
    970

    Re: Disabled user account in CentOS 5.5

    Looking at the matter of yours I personally recommend that you should login into the computer as root and simply delete the user account which is causing an issue on the computer. you have to recover the .forward emails from the your side. Os you should try the thing which I have mentioned over here so that other users who are having the same problem will learn from the experience of yours.

  6. #6
    Join Date
    Nov 2009
    Posts
    865

    Re: Disabled user account in CentOS 5.5

    I am highly suspecting that this particular issue being happening due to some technical issue. So I recommend that you should contact the technical support team for the further help. Well you should provide entire details regarding the problem which you are getting as well as system configuration of the computer. I am sure that the technical support team of the developer would definitely help you out to solve the problem of your.

Similar Threads

  1. Standard User Account and User Account Controls Question
    By Susquehannock in forum Operating Systems
    Replies: 6
    Last Post: 06-08-2010, 06:08 AM
  2. Replies: 0
    Last Post: 07-01-2009, 09:18 PM
  3. Replies: 2
    Last Post: 06-07-2008, 07:39 PM
  4. Replies: 4
    Last Post: 19-08-2007, 07:08 AM
  5. Replies: 5
    Last Post: 13-06-2007, 07:23 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,269,804.05231 seconds with 17 queries