Ask Your Question

useradd question rancid

asked 2012-11-29 10:25:54 -0500

timbertino gravatar image

updated 2012-11-29 10:28:41 -0500


I am not much of a Linux/Unix guy (kind of learning as I go) and am trying to stand up a test box of Rancid for network config backups. I am running Fedora 17 and am trying to follow the instructions on the Rancid website ( When I try to run the “useradd -g netadm -c "Networking Backups" -d /usr/local/rancid rancid” command, I keep getting the following error: useradd: cannot create directory /usr/local/rancid. The troubleshooting options have not been much help. Any direction would be helpful.


edit retag flag offensive close merge delete


try sudo useradd -g netadm -c "Networking Backups" -d /usr/local/rancid rancid

Jomoos gravatar imageJomoos ( 2012-11-29 12:12:48 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2012-11-30 12:13:43 -0500

hhlp gravatar image

@timbertino, your problem is about a SELINUX context, try to follow SELINUX troubleshooting that pop-up give you, one solution but not elegant and not recommendable is disabling SELINUX, an the good one is:

edit flag offensive delete link more


@sten did you test it? run the command with sudo and see what happen...

hhlp gravatar imagehhlp ( 2012-12-03 07:26:03 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-11-29 10:25:54 -0500

Seen: 402 times

Last updated: Nov 30 '12