View previous topic :: View next topic |
Author |
Message |
Drone4four Apprentice
Joined: 09 May 2006 Posts: 247
|
Posted: Sat Jun 24, 2006 2:07 am Post subject: "passwd: unknown user" on x86 |
|
|
I do just as the Gentoo handbook tells me to, yet I cant figure out why I cant add a password to my freshly created user account!
Here is the input and output: Code: | #passwd masterjohn
Passwd: unknown user masterjohn | wtf? _________________ My rig:
IBM Personal System/2 Model 30-286 - - Intel 80286 (16 bit) 10 Mhz - - 1MB DRAM - - Integrated VGA Display adapter
1.44MB capacity Floppy Disk - - PS/2 keyboard (no mouse)
Last edited by Drone4four on Sat Jun 24, 2006 3:17 am; edited 1 time in total |
|
Back to top |
|
|
dkostic Apprentice
Joined: 24 May 2006 Posts: 220 Location: Madison, NJ
|
Posted: Sat Jun 24, 2006 2:21 am Post subject: |
|
|
Can you show us what code you tried to use to create the user masterjohn? _________________ Toshiba Satellite A105 laptop, 1.7 mHz Celeron M, 100 Gb hard disk, 512 Mb RAM, 2006.0, 2.6.16-r7 kernel
Homemade desktop, 3.2+ mHz AMD Athlon 64 processor, 120 Gb hard disk, 1 Gb RAM, 2005.0, 2.6.14-r2 kernel |
|
Back to top |
|
|
Drone4four Apprentice
Joined: 09 May 2006 Posts: 247
|
Posted: Sat Jun 24, 2006 2:53 am Post subject: |
|
|
Sure: Code: | # useradd -m -G audio,users,cdrom,portage,usb,video,wheel /bin/bash masterjohn
Usgae: useradd [...]
useradd [...] |
_________________ My rig:
IBM Personal System/2 Model 30-286 - - Intel 80286 (16 bit) 10 Mhz - - 1MB DRAM - - Integrated VGA Display adapter
1.44MB capacity Floppy Disk - - PS/2 keyboard (no mouse) |
|
Back to top |
|
|
lxg Veteran
Joined: 12 Nov 2005 Posts: 1019 Location: Aachen, Germany
|
Posted: Sat Jun 24, 2006 9:20 am Post subject: |
|
|
If you call a programm in Linux and it tells you something about its usage, you have certainly done something wrong, and the command has definitely not been exexuted. In your case, the correct command would be
Code: | useradd -m -G audio,users,cdrom,portage,usb,video,wheel -s /bin/bash masterjohn |
Don't forget to create, assign and chown a home directory to that user, or you'll get problems later. _________________ lxg.de – codebits and tech talk |
|
Back to top |
|
|
Drone4four Apprentice
Joined: 09 May 2006 Posts: 247
|
Posted: Sun Jun 25, 2006 8:51 pm Post subject: |
|
|
lx0 wrote: | If you call a programm in Linux and it tells you something about its usage, you have certainly done something wrong, and the command has definitely not been exexuted. In your case, the correct command would be
Code: | useradd -m -G audio,users,cdrom,portage,usb,video,wheel -s /bin/bash masterjohn |
Don't forget to create, assign and chown a home directory to that user, or you'll get problems later. |
Thanks lx0, this is exactly what I was looking for! _________________ My rig:
IBM Personal System/2 Model 30-286 - - Intel 80286 (16 bit) 10 Mhz - - 1MB DRAM - - Integrated VGA Display adapter
1.44MB capacity Floppy Disk - - PS/2 keyboard (no mouse) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|