Go to advanced search

by aristosv
Fri Dec 12, 2014 11:48 am
Forum: Raspberry Pi OS
Topic: command execution issue
Replies: 2
Views: 491

command execution issue

I am running a script on boot (on boot.sh) that performs 2 commands.

Code: Select all

/usr/bin/mpg123 -Z -q /root/music/*
cp test.sh /root
My problem is that the file is not getting copied because the first command will not let the second command get executed.

How can I fix this?
by aristosv
Fri Dec 12, 2014 11:16 am
Forum: Raspberry Pi OS
Topic: how cron jobs run in raspbian?
Replies: 2
Views: 575

Re: how cron jobs run in raspbian?

Thats awsome! Thanks.
by aristosv
Fri Dec 12, 2014 7:41 am
Forum: Raspberry Pi OS
Topic: how cron jobs run in raspbian?
Replies: 2
Views: 575

how cron jobs run in raspbian?

Crontab -l

Code: Select all

@reboot Script1.sh
@reboot Script2.sh
@reboot Script3.sh
Will this run sequentially, or all at the same time?
by aristosv
Wed Dec 10, 2014 6:25 pm
Forum: Raspberry Pi OS
Topic: Reverse SSH Tunnel Question
Replies: 2
Views: 815

Reverse SSH Tunnel Question

I have a raspberry pi behind a firewall. I found that if I use Reverse SSH Tunnel I am able to access it without opening ports on the Firewall. So I tried it like shown below and it works. /usr/bin/ssh -R 5001:localhost:22 root@remotehosthere My problem is that when the raspberry pi is restarted, th...
by aristosv
Wed Dec 10, 2014 10:14 am
Forum: Raspberry Pi OS
Topic: Disabling password reset
Replies: 9
Views: 1552

Re: Disabling password reset

I realize its a matter of time for someone with the know-how to crack the system.
So let me rephrase.

How can I make it difficult for someone to do that?
by aristosv
Wed Dec 10, 2014 5:24 am
Forum: Raspberry Pi OS
Topic: Disabling password reset
Replies: 9
Views: 1552

Re: Disabling password reset

What if i encrypt the sd?
by aristosv
Tue Dec 09, 2014 9:29 pm
Forum: Raspberry Pi OS
Topic: Disabling password reset
Replies: 9
Views: 1552

Disabling password reset

I am setting up a few raspberry pi's to play music in some shops at remote locations. I dont want anyone messing with them though. Is there a way to prevent someone from resetting the root password on raspbian? This would be a person with physical access on the pi. Can i disable single user mode, or...
by aristosv
Tue Dec 09, 2014 9:10 am
Forum: Raspberry Pi OS
Topic: Add user silently
Replies: 5
Views: 1033

Re: Add user silently

Thanks for the info. I really want the user to be a member of root, not sudo.
Will the commands you provided prompt for password?
by aristosv
Mon Dec 08, 2014 7:54 pm
Forum: Raspberry Pi OS
Topic: Add user silently
Replies: 5
Views: 1033

Add user silently

Hello, I am using Raspbian Wheezy Version: September 2014. I would like to create a script or a one-liner if possible, to add a new user silently/unattendedly. I want this user to have root privileges. Is this possible to do? From what I could gather, I need one command to add the user, one command ...

Go to advanced search