how can i make an user to nologin without locking the account for the user
Answers were Sorted based on User's Feedback
Answer / aman thakur
Simply edit a line in /etc/passwd and chage user's shell to /bin/false(in case of ubuntu) or /bin/nologin(incase of redhat or fedora)
Is This Answer Correct ? | 45 Yes | 7 No |
Answer / arnab chowdury
Simply edit a line in /etc/passwd and chage user's shell to /sbin/nologin
Is This Answer Correct ? | 12 Yes | 4 No |
Answer / tinku prasad
Simply edit a line in /etc/passwd and chage user's shell
to /sbin/nologin
Is This Answer Correct ? | 5 Yes | 2 No |
Answer / naveen.esamalla
i know just lock the useraccount ie usermod -L username
Is This Answer Correct ? | 10 Yes | 9 No |
Answer / santhosh kumar
use password aging for that user. and set the date which is already past..!!! "chage username" is the command
Is This Answer Correct ? | 3 Yes | 4 No |
Answer / girish
vi /etc/passwd
student:x:500:500::/home/student:/bin/bash
student:*:500:500::/home/student:/bin/bash
here student is user and just replace "X" with "*"
Is This Answer Correct ? | 1 Yes | 6 No |
what are acl permissions..? what is automation of jobs..?
How to recover a deleted file in linux ?
How to catagories tickets in RHEL, which tickets are belong to PROBLEM, INCIDENT and CHANGE management? please given to me with examples
why accounting Software does not support on linux?
What utility can you use to automate rotation of logs?
what is meant by mysql clustering
expalin the process of kickstart installation?
What is page-in and page-out in redhat linux?
what is NIS Server...?
Hi all Could u plz tell me how I can get UNIX/Linux Certification
in linux gui desktop icon was lost how con u back this icons
What is the difference between an argument and an option/switch?