Run on power up

Post Reply
priestnot
Posts: 47
Joined: Sun Mar 20, 2011 3:44 pm

Run on power up

Post by priestnot » Wed Nov 02, 2011 6:57 pm

Hi were can i put a script to be executed on power up?

I tried in /etc/rc.d/init.d but it did not work.

What i want to do is change the password of the Lacie root user on boot, because if i add a user in the dashboard it changes the root password in the shadow file.

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: Run on power up

Post by Mijzelf » Wed Nov 02, 2011 7:14 pm

The box uses initng, so have a google.

About the rootpassword: viewtopic.php?f=236&t=4477&start=15#p17881

priestnot
Posts: 47
Joined: Sun Mar 20, 2011 3:44 pm

Re: Run on power up

Post by priestnot » Wed Nov 02, 2011 10:07 pm

thanks that should help

jwhkcs
Posts: 1
Joined: Thu Nov 03, 2011 4:15 pm

Re: Run on power up

Post by jwhkcs » Thu Nov 03, 2011 4:24 pm

Super-Duper site! I am loving it!! Will come back again - taking you feeds also, Thanks.

priestnot
Posts: 47
Joined: Sun Mar 20, 2011 3:44 pm

Re: Run on power up

Post by priestnot » Tue Nov 22, 2011 11:12 pm

It worked i changed th python code and now whe i add a user it outomatcly gives him access to ssh console.
And i changes root password also...

Thanks...

Post Reply