Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12745 Discussions

what is the nios2 linux telnetd password?

Altera_Forum
Honored Contributor II
1,208 Views

hi: 

 

I run telned on my dvb, but I login fail, reson is" invalid password" 

 

In hippo guide: 

The password files are etc/passwd,etc/group,etc/shadow . 

 

But I don't understand it. Who can explain how to get the tlenetd user name and 

password? 

 

thanks a lot.
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
503 Views

hi, 

 

I think it's the same passwd as nios2terminal : 

 

username = nios 

passwd = uClinux 

 

this is what I use, and it runs with this configuration http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
0 Kudos
Altera_Forum
Honored Contributor II
503 Views

 

--- Quote Start ---  

originally posted by sdhnain@May 16 2006, 08:26 AM 

hi, 

 

i think it&#39;s the same passwd as nios2terminal : 

 

username = nios 

passwd = uclinux 

 

this is what i use, and it runs with this configuration  http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/smile.gif  

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15400) 

--- quote end ---  

 

--- Quote End ---  

 

 

Thanks you reply 

 

I have already use it,but return invalid password
0 Kudos
Altera_Forum
Honored Contributor II
503 Views

Study by "man login" &#39;man telnetd", and "man passwd". 

http://www.tldp.org/howto/shadow-password-howto.html (http://www.tldp.org/howto/shadow-password-howto.html) . 

We use the login in busybox. 

But mx140 use hardcoded password in their login.
0 Kudos
Altera_Forum
Honored Contributor II
503 Views

Hi Alex824, 

Please build inetd and telnetd in uClinux-dist. 

telnetd should not start standalone, as "telnetd &".  

it should be invoked by inetd , adding a line in etc/inetd.conf . 

Please use "addgroup","adduser","passwd" to create password on nios2. 

Then update the password files in ~/rootfs. 

Add ptyp0-9 to , or remove the file etc/securetty, if you want root login on telnetd.
0 Kudos
Reply