dissable root password and run program automaticlly

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

dissable root password and run program automaticlly

928 Views
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.

Labels (1)
0 Kudos
2 Replies

810 Views
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 Kudos

810 Views
G_rio
Contributor III

Try it

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

Gorio

0 Kudos