Bug 173009 - useradd will not allow -k
Summary: useradd will not allow -k
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: shadow-utils
Version: 4
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-12 08:55 UTC by Teguh DC
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-11-13 12:52:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Teguh DC 2005-11-12 08:55:18 UTC
Description of problem:
If i use -k option with useradd then it will display help message and no user
created

Version-Release number of selected component (if applicable):
shadow-utils-4.0.12-5.FC4

How reproducible:
Always

Steps to Reproduce:
1. cp -r /etc/skel /etc/fooskel
2. useradd -k /etc/fooskel foo

  
Actual results:
1. display the help messages
2. no user create

Expected results:
new user created with custom skel defined

Additional info:
when i try with luseradd instead of useradd, this work perfectly

Comment 1 Peter Vrabec 2005-11-13 12:52:38 UTC
see:
man useradd
u should use:
# useradd -m -k /etc/fooskel foo



Note You need to log in before you can comment on or make changes to this bug.