Fedora Linux Support Community & Resources Center
Old 15th October 2008, 08:30 PM
marko Offline
Registered User
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 7,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

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 01:08 PM
/home partition vs. /home directory leasure98 Using Fedora 3 28th May 2004 04:39 AM

Current GMT-time: 03:41 (Tuesday, 22-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

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