LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-12-2003, 10:08 AM   #1
infected
Member
 
Registered: Jun 2003
Location: Iowa
Distribution: undecided
Posts: 30

Rep: Reputation: 15
how to make a user an admin so that i dont have to su every time


i dont like to su every time i wanna do something, how can i make myself an admin?
 
Old 07-12-2003, 10:14 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
d00d that is something you don't wanna do....i recommend you look into the sudo command and how to edit the /etc/sudoers, and add the most commonly used root commands to this file for you regular user can issue them....
 
Old 07-12-2003, 10:19 AM   #3
infected
Member
 
Registered: Jun 2003
Location: Iowa
Distribution: undecided
Posts: 30

Original Poster
Rep: Reputation: 15
what if i add myself to the group root would that help?
 
Old 07-12-2003, 10:20 AM   #4
isme
LQ Newbie
 
Registered: Jul 2003
Posts: 12

Rep: Reputation: 0
First, to answer your question, just work as root all the time or give the user uid:0.
Second, you never ever really want this !!!
You really only need to su to root when you change something on your global system config, installing software or similar. How often does this happen?
It is quite dangerous, to work all the time as root, try searching in this forum for something like ' i accidently typed rm -f /
- how can i rescue my system?'
Instead, take a look at the group feature.
Also, if there are some commands that requires root permissions and you use them often, take a look at sudo or give those binaries the sticky bit (man chmod).
I repeat, you DON'T want users to have superuser permissions, think about, that they can do everything they want with your system, unintended or not.
 
Old 07-15-2003, 06:05 AM   #5
ranger12002
Member
 
Registered: Jun 2003
Location: miami florida
Distribution: slackware 9.0
Posts: 128

Rep: Reputation: 15
i wouldnt recommend running root all the time as that is a huge security risk
 
Old 07-15-2003, 06:25 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
http://www.linuxquestions.org/questi...threadid=72734

Seems to be the thing lately. Bottom line is take our advice and don't do it. You are best off working with linux to the point where you know exactly how to do it (at which point you won't want to anymore ) because you'll need that knowledge if you are going to be root 24/7

Cool
 
Old 07-15-2003, 09:04 AM   #7
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
You run as root all the time and your name will end up being prophetic.
 
  


Reply



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
User admin and N/w admin on Gnome hangs ssrini *BSD 2 07-28-2005 07:55 AM
Admin user dee3lmo Linux - Security 1 07-12-2004 04:07 PM
'make' and 'make install' commands dont work on my system? ginda Linux - Newbie 9 04-18-2004 11:17 AM
User admin. How to change a user... Pug405 Linux - General 3 04-09-2004 01:33 AM
TCL/TK User Admin liguorir Linux - Software 0 03-31-2004 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration