Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Creating a folder in /Opt, Newbie here< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: April 11 2007,13:59 QUOTE

There are two options to start emelFM from the right-click menu - normal and super-user. Choose the super-user option.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 11 2007,14:13 QUOTE

An option to always running as root, and to using emelfm as root (both can be quite dangerous), is to create a directory in /opt/LAMPP as root and change ownership of the directory to user dsl:

sudo mkdir /opt/LAMPP/whatever
sudo chown dsl.staff /opt/LAMPP/whatever

From that point you can add whatever you want to /opt/LAMPP/whatever as user dsl.  Depending on the purpose of this directory, it may not be a useful thing to do, however. I'd say the simplest alternative is to do as Juanito suggested, but please use emelfm as root only when necessary.

Determining if an installed extension is a uci or unc can be done by looking in the file /etc/mtab. This file lists all currently mounted filesystems, and if a uci or unc is mounted it should show up here.

Ultimately, you really should try to become comfortable using the commandline. You will probably find yourself gaining some pretty amazing powers that are not apparent to the click-only user.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
jnymris Offline





Group: Members
Posts: 16
Joined: April 2007
Posted: April 11 2007,17:14 QUOTE

Thanks Juantio that was jsut enought for my to do what i wanted to do Which was

To restore my files into a local webserver so i can test without being online. I hope this would also explains why i require root/admin access pretty often (as i will be editing/adding them files very often)

Mikshaw Thanks for your rather detailed answer, (i did read it all so it hasn't gone to waste) But why is it dangoures to run root/admin all the time? Because it you have access to every file? just for that reason?
Wheres the best place for learn using the commandline and the codes for using it?

The main reason i am using linux is because, it's very small and it's a slow computer but i want to test my website(coding) skills offline

Off-topic anyone know where i could download a feature that would alow me to install an e-mail server so i could send e-mail to an account and retirve them using an e-mail address. All localy though.

Thanks
-Johnny


--------------

First impression of DSL: THE BEST
Second impression: pretty hard to work :(
Back to top
Profile PM WEB AOL MSN 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 11 2007,18:21 QUOTE

There are at least a few arguments against running applications as root (particularly graphical apps) and being root all the time. Two of the most common are
1) Root can do ANYTHING, including destroy your whole system with a mere typo or running a malicious piece of code. There are usually no "are you sure?" or "operation not permitted" messages when you are root.
2) Applications usually run with the permissions of the user running them. If you are running a hijacked program and are not root, the most damage that can occur is the destruction of your personal data. If you are root, the most damage that can occur is just about anything.

Some people consider running apps as root to be something completely off limits unless you absolutely have no other option, and logging in as root on a desktop system is simply not done. Other people think the whole thing is simply overblown paranoia and they continue to do everything as root because it's easy. Personally I'm somewhere in between. I'm an advocate of using a limited user to do as much as I can, and if it's a task that requires root I want to limit it to commandline or at most a visual shell such as mc, but I am not entirely against simply logging into a console as root. What I consider the most important part of security is having _good_ passwords for root and all users who have any ability to do harm to the system. I like to mention this whenever I hear someone say they want to just run as root all the time, but I don't want to push it too hard (particularly since you are running an offline machine, and frugal DSL systems can easily be repaired).

I still don't quite understand why running X applications as root is any more dangerous than console apps, but i guess it probably has to do with the fact that the added complexity of a GUI would inherit a greater chance of security issues...more code generally means more opportunities for programming errors. Maybe there's more to it than that.

There are many articles and forum posts on this subject spread around the Linux/Unix/OSX/BSD sections of the internet, so I think i'll leave it at that (plus I make a lot of assumptions about things I read, and feel comfortable stating only what sounds logical to me).

As for learning more about the commandline, there is a great repository of Linux guides at http://www.tldp.org
The url in my signature is a good one for linux basics.

I've looked into trying to get Postfix and Mutt installed and configured on a DSL machine, but have had no luck so far. Part of this is because Postfix/Sendmail configuration is way above my head, and haven't even succeeded in getting it working in Slackware, where I have a pile of documentation and support files already installed. When I used Suse, Postfix was already configured so that I could send and receive POP mail using Mutt, although I still have no idea if it was securely configured to prevent being used as a relay for others.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
8 replies since April 09 2007,09:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: Creating a folder in /Opt

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code