LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 07-07-2009, 12:16 AM   #16
cmdln
Member
 
Registered: Apr 2009
Location: Lawrence, KS
Distribution: Debian, Centos
Posts: 102
Blog Entries: 1

Rep: Reputation: 24

Quote:
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-07-2009, 12:21 AM   #17
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
Quote:
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-07-2009 at 12:24 AM.
 
  


Reply

Tags
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 04:01 AM
How to give permissions for users....... manikantha Linux - General 1 03-17-2005 05:27 AM
Not able to give execute permissions needanyhelp? Linux - General 4 08-20-2004 06:19 AM
How do I give mounting permissions? TheMusicGuy Linux - Security 4 04-20-2004 10:16 PM
ftp acct/permissions zoa artcc chief Red Hat 1 11-20-2003 12:08 PM


All times are GMT -5. The time now is 09:04 PM.

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