The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to disable user login infor? rainbow_bean AIX 5 09-12-2008 11:44 AM
How to change the file modification time of a file on nfs mount point deepthi.s UNIX for Dummies Questions & Answers 6 07-11-2008 04:11 AM
Temporarily Disable User Account scotbuff HP-UX 4 01-26-2007 01:01 AM
URGENT: Password modification for oracle user ashvik UNIX for Advanced & Expert Users 2 11-24-2006 03:10 AM
How to disable cd to other folder for a user Dilippatel AIX 1 12-02-2003 04:45 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-14-2008
Registered User
 

Join Date: Sep 2008
Posts: 1
Smile Modification in configuration file to disable a particular user

Please anyone can tell me what is the procedure to perform the required modifications in configuration files to disable a particular user???
Reply With Quote
Forum Sponsor
  #2  
Old 09-14-2008
Resident BOFH
 

Join Date: Dec 2007
Posts: 262
Depending on the OS - the usermod command can lock accounts. You can also change the login shell to /bin/false or something.
Reply With Quote
  #3  
Old 09-14-2008
Ikon's Avatar
Registered User
 

Join Date: Jul 2008
Location: Phoenix, Arizona
Posts: 405
Most Unix/Linux OS

Lock account:

passwd <username> -l

unlock account:
passwd <username> -u
Reply With Quote
  #4  
Old 09-18-2008
otheus's Avatar
Moderator ala Mode
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 605
vipw

and edit the password entry belonging to that user. Either (1) remove the line, (2) change the shell to /bin/false, or (3) change the password field to "x".

There are other possibilities that are OS-specific, as Frank said. In Linux, you can look at the files in /etc/security.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
confuguration files, disable particular user, modification

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:39 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0