I've a problem when I log with thierry and my password I have thay:
login as: thierry
thierry@192.168.0.1's password:
BusyBox v1.00 (2005.07.18-21:49+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
WHITE RUSSIAN (RC2) -------------------------------
* 2 oz Vodka Mix the Vodka and Kahlua together
* 1 oz Kahlua over ice, then float the cream or
* 1/2oz cream milk on the top.
---------------------------------------------------
root@OpenWrt:/home/thierry#
root@OpenWrt:~# ls -l /home/thierry/
-rw-r--r-- 1 1000 thierry 1051 Jul 24 16:32 ssh2.tar.gz
root@OpenWrt:~# chown -R thierry:thierry /home/thierry/
root@OpenWrt:~# ls -l /home/thierry/
-rw-r--r-- 1 root thierry 1051 Jul 24 16:32 ssh2.tar.gz
root@OpenWrt:/home/thierry# ls -l /home/thierry/
-rw-r--r-- 1 root thierry 1051 Jul 24 16:32 ssh2.tar.gz
SO the user is root and the group thierry.
I added a group in /etc/group:
root@OpenWrt:/home/thierry# cat /etc/group
root:x:0:
nogroup:x:65534:
thierry:x:1000:
But I'd like to have the user thierry and group thierry associated with the name "thierry".
This is the content of my passwd.
root@OpenWrt:/home/thierry# cat /etc/passwd
root:$x$$xxxxxxxxxxxxxxxxxxxxxxxxx:0:0:root:/tmp:/bin/ash
nobody:*:65534:65534:nobody:/var:/bin/false
thierry:$1$$xxxxxxxxxxxxxxxxxxxx:0:0::/home/thierry:/bin/ash
I can modify the line thierry, to have a real user thierry and a real group thierry, so that when I do chown -R thiery:thierry, I see thierry:thierry and not root:thierry?
If I try to put that in /etc/passwd:
thierry:$1$xxxxxxxxxxxxxxxxxxx:1000:1000::/home/thierry:/bin/ash
and I try to log on thierry, I have that:
login as: thierry
thierry@192.168.0.1's password:
BusyBox v1.00 (2005.07.18-21:49+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
You don't exist, go away!
/home/thierry $
Thanks.
(Last edited by thierry_b on 25 Jul 2005, 00:01)