Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-19-2006, 10:34 AM   #1
Registered: Oct 2005
Location: Bangladesh
Posts: 490

Rep: Reputation: 30
Smile Remove "/sbin/nologin" Restriction

Dear Friends ,

I have a Mail server with REdhat Enterprise Linux . Suppose here i add a user "red" like the following way :

useradd red -s /sbin/nologin

so that the "red" user cannot login into my server . But my question is if i want to remove this restriction from "red" user i.e., If i want "red" user can login into my mail server later then what should I need to do ?
Plz inform............Thx..........
Old 07-19-2006, 10:57 AM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (
Posts: 1,900

Rep: Reputation: 68
man chsh; vim /etc/passwd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS problems - "/usr/sbin/exportfs" just hangs meeble Linux - Networking 4 07-03-2008 07:14 AM
Fc4 Install Freezes On "running /sbin/loader" honkanen Linux - Newbie 3 06-06-2006 05:50 PM
redhat9 install hangs at "running\sbin\loader" onedollar Linux - Software 3 12-28-2005 09:50 AM
cannot execute "/sbin/agetty" <-- appears during kernel boot process CestusGW Linux - General 2 01-10-2004 05:16 PM
/sbin/nologin tyccea Red Hat 2 10-22-2003 07:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration