LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-05-2004, 04:01 PM   #1
clo99dx
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
Given regular user root privileges


Hello

First time using linux so please dont flame me. I am using Mandrake and added a new user. How do I give that user root privileges? I was searching the board and tried "has this been asked? button" but couldnt find any hints.
 
Old 06-05-2004, 04:06 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Re: Given regular user root privileges

Quote:
Originally posted by clo99dx
Hello

First time using linux so please dont flame me. I am using Mandrake and added a new user. How do I give that user root privileges? I was searching the board and tried "has this been asked? button" but couldnt find any hints.
Actually asked all the time and 99.9999% will give the same answer of, "Don't Do It!"

Its a security risk and bad security practice. Setup sudo or su when needing to be root. Of if you just simply don't care about security, just login as root, but don't cry when your system is vulnerable if on the net and one day you find either its cracked, hacked or setup as a community machine for the crackers who will use it to crack other networks and systems, making you look at fault..
 
Old 06-05-2004, 04:11 PM   #3
clo99dx
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the info. Reason why I ask is becuase when I am trying to run nmap -sS switch it asks for root acces. Im used to running it on a windows box which i can manage. Any hints?

Looking up on SUDO right now

Last edited by clo99dx; 06-05-2004 at 04:13 PM.
 
Old 06-05-2004, 04:13 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally posted by clo99dx
Thanks for the info. Reason why I ask is becuase when I am trying to run nmap -sS switch it asks for root acces. Im used to running it on a windows box which i can manage. Any hints?

Looking up on SUDO right now
su - root
password:

# nmap -sS


 
Old 06-05-2004, 04:15 PM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
For one command do a

su -c "command"

Otherwise you may want to check into sudo
man sudo

BTW, this question has been dealt with at least four times in the last week on the forums.
 
Old 06-05-2004, 04:24 PM   #6
clo99dx
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I logged in under sudo root, i go to the directory where nmap is located and it gives me command not found, on the other user is ok. Thanks for the help before
 
Old 06-05-2004, 04:27 PM   #7
clo99dx
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
su -c worked, thanks everyone for the help
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give user always root privileges? SimeonV Suse/Novell 18 06-23-2005 11:02 AM
Root privileges for user ar1 Linux - Security 2 01-07-2005 09:33 PM
User with root privileges ShakyJake Linux - Newbie 2 06-18-2004 12:12 PM
Giving a User Root Privileges lawrencegoodman Linux - Newbie 4 12-23-2003 04:41 PM
How can I create a user with the same privileges as the root ? Menestrel Linux - Newbie 3 11-19-2003 09:38 PM


All times are GMT -5. The time now is 10:46 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