Creating nre user

Rolandas Imbrasas rolandas_i at centras.lt
Wed Oct 10 04:34:19 PDT 2001


Hi,

I am trying to create a new user but it does not look working properly :(

What I did:
root at lfs ~
$ useradd -u 13 -g admin -s /bin/bash -c Admin admin
root at lfs ~
$ mkdir /home/admin
root at lfs ~
$ chown admin /home/admin
root at lfs ~
$ ls -l /home
total 13
drwxr-xr-x    2 admin    root         1024 Oct 10 20:26 admin
drwxr-xr-x    2 root     root        12288 Oct  2 03:24 lost+found

Now I am logging in as new user 'admin' and getting following:

lfs login: admin
password:
No mail.
I have no name!@lfs ~
$ ls -la
total 2
drwxr-xr-x    2 13       root         1024 Oct 10 20:26 .
drwxr-xr-x    4 1000     root         1024 Oct 10 20:24 ..
I have no name!@lfs ~
$ echo $USER
admin
I have no name!@lfs ~
$

Why prompt shows 'I have no name!', '13' instead of 'admin' and where it
gets '1000' from? I do not have such group?
I did apply shadowpasswd_plus hint earlier today but I do not think it could
be related.

Thanks a LOT!

=-=-= Rolandas =-=-=


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list