LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-19-2006, 11:34 AM   #1
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 484

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, 11:57 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,899

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


Reply


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 08:14 AM
Fc4 Install Freezes On "running /sbin/loader" honkanen Linux - Newbie 3 06-06-2006 06:50 PM
redhat9 install hangs at "running\sbin\loader" onedollar Linux - Software 3 12-28-2005 10:50 AM
cannot execute "/sbin/agetty" <-- appears during kernel boot process CestusGW Linux - General 2 01-10-2004 06:16 PM
/sbin/nologin tyccea Red Hat 2 10-22-2003 08:56 AM


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

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