On Tue, 6 Sep 2005, [EMAIL PROTECTED] wrote:

It is not obvious to me.
I read the man useradd and I could not find the solution.
This commands are on the book lfs.
I apologize for my question.


When I add a new user, there is the following message:

-sh: /dev/null: Permission denied


I put the following commands:
groupadd lfs2005
useradd -s /bin/bash -g lfs2005 -m -k /dev/null lfs2005

Please, execute this command and study it:

man useradd

Your problem will become obvious.


 Hint, from 'man useradd' [ -k skeleton_dir ]

Or to put it another way, why are you referencing /dev/null at all when adding a user ?

Ken
--
 das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to