You are not logged in.
Pages: 1
Hey there,
I came to Arch because I wanted to learn how Linux works and I thought the best way to learn is start from scratch and work my way up to a finished product. Well I've been following the Beginners Guide wiki which has been a good guide to get up and running although it is a little scarce on describing why I was typing these commands and what effect they had... Anyways.
I can now boot into my new installation and that's the main thing...
Here's my situation:
From root I created a new user using "useradd -m -g users -G audio,games,lp,network,optical,power,scanner,storage,video,wheel -s /bin/bash rob"
I then did "passwd rob" then entered by password twice.
So my /etc/passwd looks like this:
I then type "exit" and try and login to rob using my newly set password but it still says my login is incorrect. I then try setting the password yet again from root but I still face the same problem.
What's going on? What am I doing wrong?
Many thanks ![]()
Last edited by Robula (2012-11-21 15:41:14)
Offline
hm, just to be sure, passwords are case sensitive, and also, if you are using numbers, careful with numlock.
Offline
Forget the user groups for now. They can easily be added later, if you really need to.
https://wiki.archlinux.org/index.php/Be … gular_user
# useradd -m -g users -s /bin/bash archie
# passwd archieAlso:
If you wish to start over, use userdel. The -r option will remove the user's home directory and its content, along with the user's settings (the so-called "dot" files).
# userdel -r archie
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Why is there /usr/bash in your /etc/passwd ?
Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github
Offline
Why is there /usr/bash in your /etc/passwd ?
Yeah. I'm thinking he (mis)typed "-s /usr/bash" instead of "-s /bin/bash" when he created the password. It doesn't look like put himself in the "users" group either:
From root I created a new user using "useradd -m -g users -G audio,games,lp,network,optical,power,scanner,storage,video,wheel -s /bin/bash rob"
My advice to the OP would be to delete that user and start again, putting himself only in "users" for now. We don't need to be in other groups now, unless we need to be.
Last edited by Antoine (2012-11-21 12:28:17)
Offline
I've been following the Beginners Guide wiki ...it is a little scarce on describing why I was typing these commands
A bit off the main topic - but to address your interest in learning: I suspect this scarcity is by design. This is a guide for beginners to get up and running, not necessarily an educational resource. You will find that for every command it tells you to use, you can also do `man command` and get plenty of additional reading material.
(edit: typos)
Last edited by Trilby (2012-11-21 16:16:29)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
illusionist wrote:Why is there /usr/bash in your /etc/passwd ?
Yeah. I'm thinking he (mis)typed "-s /usr/bash" instead of "-s /bin/bash" when he created the password. It doesn't look like put himself in the "users" group either:
Robula wrote:From root I created a new user using "useradd -m -g users -G audio,games,lp,network,optical,power,scanner,storage,video,wheel -s /bin/bash rob"
My advice to the OP would be to delete that user and start again, putting himself only in "users" for now. We don't need to be in other groups now, unless we need to be.
Thank you! I didn't realize I had missed typed /bin/bash as /usr/bash... After correcting this I was able to change my password and login. Such a silly mistake...
Robula wrote:I've been following the Beginners Guide wiki ...it is a little scarce on describing why I was typing these commands
A bit off the main topic - but to address you interest in learning: I suspect this scarcity is by design. This is a guide for beginners to get up and running, not necessarily an educational resource. You will find that for every command it tells you to use, you can also do `man command` and get plenty of additional reading material.
"man <command>", I've been messing around on and off with Linux for years and I have never come across this gem! ![]()
EDIT: The 'man' command is amazing! I've managed to solve my other problems with netcfg I was having by reading the man file. Thanks a bunch Trilby!
Thank you all for your replies, patience and helpfulness. ![]()
Last edited by Robula (2012-11-21 15:50:32)
Offline
Pages: 1