2009-11-17 04:22:47 H ow to create a passwords for the telnet?
zhang zhihua (CHINA)
Message: 82454
Hi,
the board which I use is ADSP-BF518F EZ-Board,I want to create a passwords for the telnet,frist I modify the kernel of the uClinux like this:[*] login ,then make it and load the vmImage to my board,but when I use the telnet ,it will login in the board without any passwords,how to do it ?
TranslateQuoteReplyEditDelete
2009-11-17 10:30:34 Re: H ow to create a passwords for the telnet?
Mike Frysinger (UNITED STATES)
Message: 82456
please read the documentation:
docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:managing_users
QuoteReplyEditDelete
2009-11-17 10:31:04 Re: H ow to create a passwords for the telnet?
Mike Frysinger (UNITED STATES)
Message: 82457
also, this issue is not related to u-boot at all. please use the right forum in the future.
QuoteReplyEditDelete
2009-11-18 20:25:08 Re: H ow to create a passwords for the telnet?
zhang zhihua (CHINA)
Message: 82513
Hi,
the board I use is BF518F-EZBRD,I want to set a passwords for the telnet so that when I use telnet to login it required check the username and passwords,frist I build the kernal like this:(from docs.blackfin.uclinux.org/doku.php?id=faq&s[]=telnet&s[]=login)
1. In Blackfin uclinux enviroment, use passwd to modify root passwd. and copy the generated etc/passwd file to your uclinux-dist/vendor/AnalogDevices/<board>/passwd, so you know what the root passwd is. You can also add other user names in this file.
2. modify uclinux-dist/vendor/AnalogDevices/<board>/inittab, add one line:
ttyS0::respawn:/bin/getty -L ttyS0 57600 vt100
3. Unselect [Customize Vendor/User Settings] -→ [Core Applications] -→ [enable console shell]. Remove any binary and object files in folder uClinux-dist/user/init/.
4. ~/your-uClinux-dist/> cd user/init
~/your-uClinux-dist/user/init/> make clean
5. Select Customize Vendor/User Settings] -→ [tinylogin] → (login,getty,passwd,su etc.). Build kernel.
6. ~/your-uClinux-dist/> make
7. ~/your-uClinux-dist/> cd romfs/bin
8. ~/your-uClinux-dist/romfs/bin/> ln -s tinylogin getty
9. ~/your-uClinux-dist/romfs/bin/> ln -s tinylogin login
10. ~/your-uClinux-dist/romfs/bin/> ln -s tinylogin passwd
11. ~/your-uClinux-dist/romfs/bin/> cd ../../
~/your-uClinux-dist/> make image
but when I run 'ln -s ',it appears that :
root@ubuntu:/home/uClinux-dist/romfs/bin# ln -s tinylogin getty
ln: creating symbolic link `getty': File exists
root@ubuntu:/home/uClinux-dist/romfs/bin# ln -s tinylogin login
ln: creating symbolic link `login': File exists
root@ubuntu:/home/uClinux-dist/romfs/bin# ln -s tinylogin passwd
ln: creating symbolic link `passwd': File exists
why?how to solve this problem?