Hi,
I flash my SheevaPlug with the file ubuntu-9.0.5.Release.jffs2, then, I put modules and firmware depending to the kernel I use, and I boot on it. No problem. Now, I decide to add a user:
# groupadd -g 888 bob
# useradd -s /bin/bash -m -d /home/bob1 -u 888 -g 888 -G 20 bob1
# grep bob /etc/group /etc/passwd
/etc/group:dialout:x:20:popcorn,bob1
/etc/group:bob:x:888:
/etc/passwd:bob1:x:888:888::/home/bob1:/bin/bash
# passwd bob1
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@g-sheeva-box-1:~# su - bob1
root@g-sheeva-box-1:~# id
uid=0(root) gid=0(root) groups=0(root)
I can't change to created user !
And I can't login to it !
If I see /var/log/auth.log, there is only this information:
Sep 3 06:11:05 g-sheeva-box-1 groupadd[1548]: new group: name=bob, GID=888
Sep 3 06:11:12 g-sheeva-box-1 useradd[1552]: new user: name=bob1, UID=888, GID=888, home=/home/bob1, shell=/bin/bash
Sep 3 06:11:12 g-sheeva-box-1 useradd[1552]: add `bob1' to group `dialout'
Sep 3 06:11:12 g-sheeva-box-1 useradd[1552]: add `bob1' to shadow group `dialout'
Sep 3 06:11:53 g-sheeva-box-1 passwd[1558]: pam_unix(passwd:chauthtok): password changed for bob1
Sep 3 06:11:59 g-sheeva-box-1 su[1559]: Successful su for bob1 by root
Sep 3 06:11:59 g-sheeva-box-1 su[1559]: + pts/0 root:bob1
Sep 3 06:11:59 g-sheeva-box-1 su[1559]: pam_unix(su:session): session opened for user bob1 by root(uid=0)
Sep 3 06:11:59 g-sheeva-box-1 su[1559]: pam_unix(su:session): session closed for user bob1
I'm trying with several kernel, but nothing change.
What's going wrong ?
Thanks in advance
