![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Please anyone can tell me what is the procedure to perform the required modifications in configuration files to disable a particular user???
|
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Depending on the OS - the usermod command can lock accounts. You can also change the login shell to /bin/false or something.
|
|
#3
|
||||
|
||||
|
Most Unix/Linux OS
Lock account: passwd <username> -l unlock account: passwd <username> -u |
|
#4
|
||||
|
||||
|
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. |
||||
| Google The UNIX and Linux Forums |
| Tags |
| confuguration files, disable particular user, modification |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|