Go to advanced search

by BSD_
Wed Aug 05, 2015 3:32 pm
Forum: Raspberry Pi OS
Topic: Create account from text file
Replies: 10
Views: 1329

Re: Create account from text file

Yeah, nvm the linux script just did it all through python and made a linux script to call it on startup thanks for the help guys :)
by BSD_
Wed Aug 05, 2015 1:36 pm
Forum: Raspberry Pi OS
Topic: Create account from text file
Replies: 10
Views: 1329

Re: Create account from text file

Sorry bout that this is my first linux script lol, but lol I didnt even notice that whoops
by BSD_
Wed Aug 05, 2015 1:30 pm
Forum: Raspberry Pi OS
Topic: Create account from text file
Replies: 10
Views: 1329

Re: Create account from text file

I wrote the python file. I honestly didnt know you could do linux commands from python thats why I have that file. all it does is connect to my web server and gets some data and puts it into a text file for the linux script
by BSD_
Wed Aug 05, 2015 1:23 pm
Forum: Raspberry Pi OS
Topic: Create account from text file
Replies: 10
Views: 1329

Re: Create account from text file

Yes lmao, unbound variable. I already know that haha
by BSD_
Wed Aug 05, 2015 1:10 pm
Forum: Raspberry Pi OS
Topic: Create account from text file
Replies: 10
Views: 1329

Re: Create account from text file

So basically I have it done but now I want a linux script to read stuff from a text file to add it, But im bad at linux scripting so heres my scripts, see if anyone can fix it there is only 5 lines in the file and there will always be only 5 #!/bin/bash -u sudo python getUser.py file = "$(cat /Confi...
by BSD_
Tue Aug 04, 2015 3:03 pm
Forum: Raspberry Pi OS
Topic: Create account from text file
Replies: 10
Views: 1329

Create account from text file

Hey Guys, Hey so running into another small issue I would like to make an account from a text file on my raspberry pi right now its all static but im gonna change that later but how could I do that?? all I have right now is this sudo adduser --disabled-password random1 but then it asks for my name a...
by BSD_
Tue Aug 04, 2015 2:21 pm
Forum: Advanced users
Topic: Downloading Settings on Startup
Replies: 1
Views: 433

Downloading Settings on Startup

Hey Guys, So currently I am a little stumped and I am not sure what to do so here's my question. So basically I work for a company and they are all for raspberry pi's and I think that's awesome and I am currently programming there new system with raspberry pi's and python. But here's the catch when ...

Go to advanced search