Hi Ralph, 

>> When starting up my Arch system and trying to login with my username,
>> sam, I'm apparently entering the wrong password. I have to login to
>> the root account and 'passwd sam' to be able to continue.
>
> So you set sam's password to `foo' and then you can log out of root and
> log in as sam/foo OK?

Correct

>> If I try to use sudo once logged in the password for sam that I just
>>reset is rejected. To make sudo work I have to login to root, again,
>
> This time whilst still logged in as sam, e.g. using su(1) to switch-user
> to root?

Yeah

>> and 'passwd sam'.
>
> Examine the text files /etc/passwd and /etc/shadow. Look for duplicate
> `sam' lines, especially in shadow(5), so it's possible you've two
> passwords at once?

No duplicates found

> Try going for a simple test password if your normal choices have
> control-characters or other unusual stuff that might be unacceptable to
> one of the commands and not the other.

This method has found the problem.  My password had an '@' symbol at the end of 
it which appears to cause the issue.  Working okay without it.  Seems strange 
though?

Thanks, 

Sam                                       
-- 
Next meeting:  Bournemouth, Tuesday, 2014-02-04 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:[email protected]
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to