Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th October 2008, 09:30 PM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,097
useradd used with no home directory still shows home dir in passwd file

I added a clamav user via these commands (Fedora 9 64bit)

groupadd clamav
useradd -g clamav -s /sbin/nologin -c "Clam Antivirus" -M clamav

as far as I know, this should make a clamav user, that has no password, can not get to a shell
(shell is /sbin/nologin) and has no home directory (-M , forces no home dir to be made)

The /home directory is correctly void of a 'clamav' directory but when I run finger clamav I still see that
/home/clamav is quoted as it's home. Also /etc/passwd has this:

clamav:x:501:504lam Antivirus:/home/clamav:/sbin/nologin


shouldn't where that (red) directory is be empty like this:

clamav:x:501:504lam Antivirus::/sbin/nologin

?
Reply With Quote
Reply

Tags
dir, directory, file, home, passwd, shows, useradd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
no directory /home/###! logging in with home=/ tzwen Using Fedora 11 4th April 2009 02:08 PM
/home partition vs. /home directory leasure98 Using Fedora 3 28th May 2004 05:39 AM


Current GMT-time: 22:39 (Monday, 24-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Las Rozas de Madrid Instagram Photos - Covina - Drogheda Photos