LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-09-2003, 01:48 PM   #1
wedgeworth
Member
 
Registered: Aug 2003
Posts: 234

Rep: Reputation: 30
/etc/passwd file


scott:x:501:501::/home/scott:/bin/bash

is what a user line looks like in my passwd file. if i want the account to still work correctly but have no one log into it all i have to do is......?


something like this.


scott:x:501:501::/home/scott:/bin/bash/nologin.

is this correct (just add /nologin to the shell path? ) or is the line look slightly different? or do i have to edit one of the other /etc files to make sure no one can log into scott (but continue to recieve mail and other functions)?
 
Old 10-09-2003, 01:53 PM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
If that doesn't work you may need to do this:
scott:x:501:501::/home/scott:/sbin/nologin
 
  


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
question about /etc/passwd file hongxing Linux - Software 2 11-30-2005 11:47 AM
enhance security from passwd file KitshiNg Linux - Security 1 11-19-2005 05:23 PM
Secure file and passwd transfers lord-fu Linux - Security 5 11-19-2005 01:09 AM
Where can i find the passwd file? alice95089 Linux - Software 3 04-06-2005 11:01 PM
/etc/passwd file with NIS, in redhat inode100 Red Hat 0 11-11-2003 03:46 PM


All times are GMT -5. The time now is 06:22 AM.

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