Re: New user, Permission denied.

2005-09-06 Thread mlij
Randy, Don't worry, be happy! Thanks for your help. It is working after chmod 666 /dev/null mlij '>' '>'[EMAIL PROTECTED] wrote these words on 09/06/05 19:24 CDT: '>' '>'> [EMAIL PROTECTED]:~# ls -la /dev/null '>'> crw--- 1 root root 1, 3 2005-09-06 15:49 /dev/null '>'

Re: New user, Permission denied.

2005-09-06 Thread Randy McMurchy
[EMAIL PROTECTED] wrote these words on 09/06/05 19:24 CDT: > [EMAIL PROTECTED]:~# ls -la /dev/null > crw--- 1 root root 1, 3 2005-09-06 15:49 /dev/null And here resides the problem. The command you are issuing is trying to create a home dir for the user. The command uses "-m -k

Re: New user, Permission denied.

2005-09-06 Thread mlij
> What are the permissions on /dev/null? Perhaps your message is coming > from the fact that you can't read /dev/null? [EMAIL PROTECTED]:~# ls -la /dev/null crw--- 1 root root 1, 3 2005-09-06 15:49 /dev/null > And which user are you logged into when running this command. (Never

Re: New user, Permission denied.

2005-09-06 Thread Archaic
On Wed, Sep 07, 2005 at 12:36:46AM +0100, Ken Moffat wrote: > appears to violate what the man page says. Seems to work here, so now > we can treat this as "before LFS" and ask mlij "if we haven't scared you > away, what are the permissions on /dev/null, and what host distro are > you building f

Re: New user, Permission denied.

2005-09-06 Thread Ken Moffat
On Tue, 6 Sep 2005, Randy McMurchy wrote: Judge remarks "No, his stupid comments will be retained in the archives so that everyone for several generations will be able to see what a stupid idiot he is." /me too. Again, I've got an existing lfs user on all my boxes. But, -k /dev/null has

Re: New user, Permission denied.

2005-09-06 Thread Randy McMurchy
Randy McMurchy wrote these words on 09/06/05 17:45 CDT: > 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

Re: New user, Permission denied.

2005-09-06 Thread Randy McMurchy
[EMAIL PROTECTED] wrote these words on 09/06/05 17:24 CDT: > 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. I would like to publicly apologize to you for my previous comments. *I* am the one t

Re: New user, Permission denied.

2005-09-06 Thread Randy McMurchy
Justin R. Knierim wrote these words on 09/06/05 17:50 CDT: > It is used at the beginning of the LFS book, 4.3. Adding the LFS User: > > http://www.linuxfromscratch.org/lfs/view/development/chapter04/addinguser.html > > I was assuming this was a LFS support question, but I could be wrong. > The

Re: New user, Permission denied.

2005-09-06 Thread Justin R. Knierim
Randy McMurchy wrote: [EMAIL PROTECTED] wrote these words on 09/06/05 17:24 CDT: 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. It is used

Re: New user, Permission denied.

2005-09-06 Thread Randy McMurchy
[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 -

Re: New user, Permission denied.

2005-09-06 Thread Justin R. Knierim
[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. Hi, You can also check the LFS FAQ for common problems. There is an entry there for "/dev/null: Permission denied", pl

RE: New user, Permission denied.

2005-09-06 Thread David Fix
> 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 need to apologize. :) I believe what being referred to was that you don't need to use the "-k /dev/null" directive. :) Please correct me

Re: New user, Permission denied.

2005-09-06 Thread Ken Moffat
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

Re: New user, Permission denied.

2005-09-06 Thread mlij
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

Re: New user, permission denied

2005-09-05 Thread Randy McMurchy
[EMAIL PROTECTED] wrote these words on 09/05/05 19:17 CST: > 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 comman

New user, permission denied

2005-09-05 Thread mlij
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 mlij -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch