From: Adam S. on
Hi all

it seems that regardless to what parameters I use with user add, a user
cannot be authenticated unless I break the command:

useradd nuuser
mkdir/home/nuuser
chown nuuser /home/nuuser
passwd nusuer

Can anyone please tell me what I am missing?

--
Adam S.
From: Adam S. on
houghi wrote:
> Adam S. wrote:
>> Hi all
>>
>> it seems that regardless to what parameters I use with user add, a user
>> cannot be authenticated unless I break the command:
>
> So what are you using exactly?
> Begin with `useradd --show-defaults`.
>
>> useradd nuuser
>> mkdir/home/nuuser
>> chown nuuser /home/nuuser
>> passwd nusuer
>>
>> Can anyone please tell me what I am missing?
>
> No, unless you say what you use exactly.
>
> I alsways use `YaST` but then that is only interesting when adding one
> at a time.
>
> houghi

Sorry. I though I included the commands I used.

useradd testman -c "test account" -d /home/testman -p test123? -u 1003



--
Adam S.
From: Malcolm on
On Sun, 13 Sep 2009 22:08:08 -0700
"Adam S." <none(a)none.com> wrote:

<snip>

> useradd testman -c "test account" -d /home/testman -p test123? -u 1003
>
>
>
> --
> Adam S.
Hi
-m missing to create the directory and username at the end ;)

useradd -c "test account" -d /home/testman -m -p test123? -u 1003
testman

--
Cheers Malcolm ��� (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 6 days 7:29, 2 users, load average: 0.04, 0.03, 0.08
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

From: Adam S. on
Malcolm wrote:
> On Sun, 13 Sep 2009 22:08:08 -0700
> "Adam S." <none(a)none.com> wrote:
>
> <snip>
>
>> useradd testman -c "test account" -d /home/testman -p test123? -u 1003
>>
>>
>>
>> --
>> Adam S.
> Hi
> -m missing to create the directory and username at the end ;)
>
> useradd -c "test account" -d /home/testman -m -p test123? -u 1003
> testman
>

Still no luck..

--
--
Adam S.
From: Jan Gerrit Kootstra on
Adam S. schreef:
> Malcolm wrote:
>> On Sun, 13 Sep 2009 22:08:08 -0700
>> "Adam S." <none(a)none.com> wrote:
>>
>> <snip>
>>
>>> useradd testman -c "test account" -d /home/testman -p test123? -u 1003
>>>
>>>
>>>
>>> --
>>> Adam S.
>> Hi
>> -m missing to create the directory and username at the end ;)
>>
>> useradd -c "test account" -d /home/testman -m -p test123? -u 1003
>> testman
>>
>
> Still no luck..
>
Adam,


The man page says the -p option expects the output of an encrypted
password created by crypt.

So test123? will be your hash and not your cleartext password.


Kind regards,


Jan Gerrit
 |  Next  |  Last
Pages: 1 2
Prev: RWIN
Next: OpenSuSE 11.1 install problem !