How to use Spot restricted user?

Booting, installing, newbie
Message
Author
User avatar
CrazyChick
Posts: 4
Joined: Fri 25 Dec 2009, 17:16
Location: Germany

How to use Spot restricted user?

#1 Post by CrazyChick »

Okay I discovered Linux yesterday, Puppy Linux today. So apparently, there's this restricted user named Spot as someone on #irc told me... The ReadMe.txt file of that user in the system (under root/spot) says:

To change from root to user spot, type this:
# su spot
# cd ~
Or, do this:
# su --login spot


My question is - where am I supposed to type this into?

bugman

#2 Post by bugman »

open a terminal, it's the icon on the top row that looks like a tv

tell us what it's like being spot, most of us just run as root

[we are reckless] :P

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#3 Post by Flash »

Depending on how you run Puppy, and how you use it, there may be no advantage to run as user Spot. Do you run Puppy from the CD, or have you installed it on your hard disk drive? Does your computer have a DVD burner? Do you share a computer with other people? Have you been known to bork your computer? :) If you don't share, and practice safe computing, then there's really little reason to worry about running as root.

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#4 Post by dejan555 »

True, true...

Whenever someone just says "Type this" they think of terminal (aka console / CLI (command line interface) ) :lol:
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
CrazyChick
Posts: 4
Joined: Fri 25 Dec 2009, 17:16
Location: Germany

#5 Post by CrazyChick »

Thanks guys.

I have Puppy installed on my hard drive, my computer does not have a dvd reader let alone burner, and it is not really shared but family can just come in and boot it if they need it and that's the idea (since my main computer is like fort boyard with passwords I don't care to divulge). Also I occasionally surf some shady sites, so it's probably a good idea to at least give spot a go.

Thanks again. I'll report back. :)

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#6 Post by nooby »

Hope It is ok to ask.

What is good with Spot. What does it do? I have used Puppy now since Dec 2009 and I had not heard of Spot or if I had heard the word I failed to get what it was about.

So what is it?
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#7 Post by dejan555 »

It's a limited user which is in puppy by default but most users don't know/care
It can't run X though but you can run any app from terminal as limited user if you change to it first

Code: Select all

su spot
Then anything launched from that terminal session will run as limited user, you can also pass command to run directly to su

Code: Select all

su spot -c defaultbrowser
And browser will run as user "spot" and not "root"
You may have not heard of spot user but you must have noticed directory /root/spot which is spot's home directory so app configurations go there (hidden directories, e.g. /root/spot/.mozilla will be created for seamonkey or firefox)
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#8 Post by nooby »

It (spot) can't run X though
Aah, to run X is what noobs like me want to do. Sure I use CLI if it is the only way to do something but to run X is more conveniant if one have a poor memory for abbrevations and sequential order of things.

But doing everything in cli can be very effective if one know what one do though. So I am not discouraging those who have the talent for it. I've seen them in action on Unix since 1988
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#9 Post by dejan555 »

Sorry, I didn't explain good.
You can run X apps as spot but you can't log in as spot and run X itself - that's mostly why puppy is not full multiuser.
when you switch to spot user in console you can launch X apps from that console but they will run with spot's priviledges (or non-priviledges :) )
So spot is not only for running CLI apps but it can't run X itself
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#10 Post by nooby »

Would it make me safer if I use spot when I browse the internet?

So I can start any kind of program except the xwin? No desktop or menu only a prompt to write commands in? But would not Rox work as a kind of browser of files?

Hahah I am so chicken that I don't even dare to test because I have a good working version of quirky now so I don't want to screw that one up by accidently change anything being spot.
I use Google Search on Puppy Forum
not an ideal solution though

Bruce B

#11 Post by Bruce B »

nooby wrote:Would it make me safer if I use spot when I browse the internet?
I think the Golden Age of the Internet was circa 2000

Some say this is Web 2.0 or something like that. If true, when will
they release Web 2.1?

Or for that matter will they release it?

These days, I don't even recommend trusting pirates. I won't
mention device driver sites.

What is the question?

HiDeHo
Posts: 311
Joined: Wed 16 Mar 2011, 09:57

#12 Post by HiDeHo »

hi i want to add this command to the .dektop file to run teh app pidgin as user spot any ideas what exec command i can use. its not easy to find in wikka or forums how to do this.

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#13 Post by dejan555 »

Try with

Code: Select all

su spot -c pidgin
If it doesn't work from .desktop file then make a script with this command and put path to script in desktop file.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#14 Post by slavvo67 »

I'm finding that while running Chromium as spot, that it will not allow me to upload from my drives. I understand the download to spot but apparently I can only upload from spot, as well? I can't access the my drives through the browser.

Is that the intention of Spot or is this some sort of unknown issue?

Thanks,

Slavvo

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#15 Post by step »

slavvo67 wrote:I'm finding that while running Chromium as spot, that it will not allow me to upload from my drives. I understand the download to spot but apparently I can only upload from spot, as well? I can't access the my drives through the browser.

Is that the intention of Spot or is this some sort of unknown issue?
Don't quote me, but I seem to remember that the FatDog64 or LightHouse64 first-time wizard says something similar to what you just said; that when running internet as spot your download and upload are affected, and that you might need to change file permissions in order to be able to upload.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#16 Post by slavvo67 »

Step:

I think that was enough to confirm my suspicions. At first, i thought it was a permissions thing with my distro but after reviewing it further it is definitely caused by having your browser run in Spot.

It's a shame because Chromium seems to work quite well for me but the annoyance of having to send files to spot in order to upload is enough to drive me crazy. Chromium and Chrome will not run in root.

Back to Seamonkey and Opera....

Thanks for your input,

Slavvo67

User avatar
neerajkolte
Posts: 516
Joined: Mon 10 Feb 2014, 07:05
Location: Pune, India.

#17 Post by neerajkolte »

slavvo67 wrote:Back to Seamonkey and Opera....
I don't think running them as spot will make any difference than chromium.

You should try searching how to run chromium as root. But that would defeat it's purpose.
The problem you're having is actually desirable and secure way to browse the net.
Not having access yourself will also make it hard to access for others. But that's what I think please correct me if I am wrong.

On second note I seem to remember once I installed a pet and it messed up permissions of some system files I couldn't start Firefox from my desktop shortcut. When I typed firefox in terminal it started but further inspection showed it ran as root. when I inspected my desktop icon it points to 'firefox -spot'. I typed that in terminal and it didn't run. After the author of that pet corrected permissions it could run both way. So that might be a way to run from terminal. I am quite new to Linux so I may be wrong.
Oh.. I use Fatdog64-630.

hope that helps...
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson

“We tend to overestimate the effect of a technology in the short run and underestimate the effect in the long run.â€￾
- Amara’s Law.

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#18 Post by slavvo67 »

I guess what I meant is that I can run Seamonky or Opera (not as Spot) and be ok. Chrome / Chromium will not run as root but the other two will.

Thanks for your help.

Slavvo67

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#19 Post by bigpup »

About root, spot and fido
[url]file:///usr/share/doc/root.htm[/url]
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
neerajkolte
Posts: 516
Joined: Mon 10 Feb 2014, 07:05
Location: Pune, India.

#20 Post by neerajkolte »

bigpup wrote:About root, spot and fido
[url]file:///usr/share/doc/root.htm[/url]
couldn't find it in Fatdog64-631.
is there an online version?
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson

“We tend to overestimate the effect of a technology in the short run and underestimate the effect in the long run.â€￾
- Amara’s Law.

Post Reply