Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-06-2009, 11:16 PM   #16
Registered: Apr 2009
Location: Lawrence, KS
Distribution: Debian, Centos
Posts: 102
Blog Entries: 1

Rep: Reputation: 24

Originally Posted by TITiAN View Post
I don't know where you set that up on your system, but you can use nano instead, which is more intiutive, but with less extra. I admit I don't see the point in stuff like vi(m), so on my system (Gentoo) I set the default text editor to nano in the file /etc/rc.conf.
vi is a staple, its a good idea to learn how to use it as its on almost every unix like system. And the point is that its a very feature rich editor. You might be supprised by the speed you can achieve by mastering even a subset of the features vi has to offer compared to nano.

Yes for newbs nano is easier to deal with. That does not mean vi isn't useful and shouldn't be learned at least for nominal editing.
Old 07-06-2009, 11:21 PM   #17
Senior Member
Registered: Dec 2003
Posts: 3,161
Blog Entries: 4

Rep: Reputation: 136Reputation: 136
Originally Posted by newbiesforever View Post
Is there any way I can give myself root permissions (preferably for anything) while staying out of the root account? It's my computer and only I use it; I'm obviously the admin; I should be able to do anything I want. If something I'm going to do is unwise, that's mine to find out. (As a lesser issue, I don't like needing passwords on a system no one but me uses.)
I'm surprised nobody has mentioned su. Whenever you temporarily want to do something as root, run it in a su shell and then logout immediately.

Using sudo with maximum privileges is not recommended as it's easy to do things as root without the root password. To use sudo effectively, you need to effectively implement policies as to which user can do what. On the other hand, you don't need so much complexity on a single user machine.

There's a reason why Linux/UNIX restricts normal users from getting root access. Because it's a multi-user operating system and you obviously don't want non-admin users to gain write privileges to system files.

You can always configure to login as normal user without a password (using one of the desktop managers kdm or gdm), but it's still not recommended, even if you're using it as your own system. Imagine that somebody accidentally gets access to your machine - how would you like them to access your documents?

Last edited by vharishankar; 07-06-2009 at 11:24 PM.


gnome, password, root, terminal

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give myself root permissions royeo Linux - Newbie 11 08-12-2006 03:01 AM
How to give permissions for users....... manikantha Linux - General 1 03-17-2005 04:27 AM
Not able to give execute permissions needanyhelp? Linux - General 4 08-20-2004 05:19 AM
How do I give mounting permissions? TheMusicGuy Linux - Security 4 04-20-2004 09:16 PM
ftp acct/permissions zoa artcc chief Red Hat 1 11-20-2003 11:08 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration