[EMAIL PROTECTED] wrote these words on 09/06/05 17:24 CDT: [fixed awful top-posting; please, in the future don't top-post]
>>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 > > [Randy wrote] >>Please, execute this command and study it: >> >>man useradd >> >>Your problem will become obvious. > > 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. No, that command is *not* from the lfs book. I can't think of one place where "-m -k" is used. I'm not sure what your goal is. What exactly are you expecting by putting the /dev/null in the command? The only thing I can think why one would put that in a useradd command is if they wanted the new users home directory to be /dev/null, in which case you would put "-d /dev/null" in the command. -- Randy rmlinux: [bogomips 3923.96] [GNU ld version 2.16.1] [gcc (GCC) 4.0.1] [GNU C Library stable release version 2.3.5] [Linux 2.6.12.6 i686] 17:35:00 up 6 days, 2:57, 9 users, load average: 1.28, 1.11, 0.80 -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page