Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Disabled user account in CentOS 5.5

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 04-05-2011
Member
 
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.

Reply With Quote
  #2  
Old 04-05-2011
Member
 
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.
Reply With Quote
  #3  
Old 04-05-2011
Member
 
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.
Reply With Quote
  #4  
Old 04-05-2011
Member
 
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.
Reply With Quote
  #5  
Old 04-05-2011
Member
 
Join Date: Apr 2009
Posts: 967
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.
Reply With Quote
  #6  
Old 05-05-2011
Member
 
Join Date: Nov 2009
Posts: 861
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.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Disabled user account in CentOS 5.5"
Thread Thread Starter Forum Replies Last Post
Standard User Account and User Account Controls Question Susquehannock Operating Systems 6 06-08-2010 06:08 AM
Transfer user settings to another user - Duplicate user's account (Windows Vista) TheGreatOne Tips & Tweaks 0 07-01-2009 09:18 PM
how do I import my old user settings in the new user account setup when I reinstalled windows? Vera Noest Windows XP Support 2 06-07-2008 07:39 PM
Transfering user account to another user account on same computer Jeremy Vista Help 4 19-08-2007 07:08 AM
Getting the properties of a DirectoryEntry (local user) in c# whenthe user is a domain account? Active Directory Michael Howes Active Directory 5 13-06-2007 07:23 AM


All times are GMT +5.5. The time now is 02:24 PM.