dissable root password and run program automaticlly

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

dissable root password and run program automaticlly

973 次查看
snirnisim
Contributor III

hello everyone,

if i need to make my project standalone without any commands that i need to send to it inorder to login and run i need modifiy two things and need help:

1) how can i disavle the login password prompt, so it will login automaticlly?

2) how can i run my project automaticlly after login finished (without password) ?

 

i know about the rc.local option but i need the program to run after login so i could access the filesystem from my code...

 

thanks,

snir.

标签 (1)
0 项奖励
回复
2 回复数

855 次查看
snirnisim
Contributor III

thanks for responding,

 

forgot to mention that i'm using only serial to access the file system since my vga connector is broken.

so don't you thing commenting this will cause no serial communication? how is it dissabling the request for login? if i had a vga i was still needed to login with "root" don't you think?

0 项奖励
回复

855 次查看
G_rio
Contributor III

Try it

Comment line in /etc/inittab that has /sbin/getty

Gorio

0 项奖励
回复