LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-23-2003, 08:11 AM   #1
slickrcbd
Member
 
Registered: Jan 2003
Posts: 45

Rep: Reputation: 1
Making a second superuser


I'm a newbie at Linux, and occasionally while trying to configure or customize some aspect of the system I've managed to screw it up so much that I need a friend to bail me out. I have a friend who helped me set up linux, and he has been entrusted with the root password, and occasionally I need him to SSH to my computer to help me out. Is there any way I can give him his own SU account instead? The main reason for that is so that I can tell us apart with the "who", "wall", "top", and "talk" commands when we're both logged in as root; which unfortunetly due to my inexperience (read incompetence) has been necessary all to frequently.

I realize this probably sounds like a dumb reason for making a second superuser, but it is MY computer, and I'd appreciate the ability to distinguish the person at the keyboard from the person on the modem at a glance.
 
Old 12-23-2003, 11:41 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
How about changing the root pasword like right now, letting him ssh in as unprivileged user, not giving him root access and running your own Ircd on localhost?..

If you need him to view root-owned files, you can use "install" to copy them to his user area, let him make changes, diff the two files, ask for explanation or a second opinion if necessary, and make those changes yourself.

Last edited by unSpawn; 12-23-2003 at 11:44 AM.
 
Old 12-23-2003, 12:43 PM   #3
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
man sudo

That should be what you're looking for.
 
Old 12-24-2003, 10:33 AM   #4
KingofBLASH
Member
 
Registered: Sep 2003
Distribution: Just upgraded to Slackware 10.0
Posts: 91

Rep: Reputation: 15
Some distributions do allow you to automatically set up different groups of users, so that some users have access to almost all root powers without being root.

However, this does not mean that there is any intrinsic support for multiple roots. You should consult your distro's documentation (or post your distro so we can help out).
 
Old 12-25-2003, 12:49 AM   #5
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
I agree with unSpawn
Don't give out your root password, ever. It's like giving away the keys to your house, or your bank PIN number, it's bad. Make him a normal acct, give him whatever files he needs, and you can put them were he tells you to.

You have 2 advantages like this:
1. Security, 2. You'll learn a lot more.
 
  


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
I do not have superuser power halfpower Debian 4 08-20-2005 09:02 AM
Superuser CJ_Grobler Linux - Newbie 7 06-13-2005 09:35 PM
Reboot: must be superuser akudewan Slackware 8 12-03-2004 12:30 AM
Superuser for Mount? Jskill007 Slackware 5 08-29-2004 10:53 PM
superuser snu *BSD 5 07-22-2003 09:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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