LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-03-2002, 11:40 PM   #1
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Rep: Reputation: 45
root / SU password


Is it possible to make them different? Like have a root password, but then give each user a different su password?
 
Old 09-03-2002, 11:51 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
use sudo to avoid confusion. SU is a program that stands for substitute user, hence if you substituting root you must provide root password. Of course you can have as many users with root priveleges as you wish, but I don't see a point of it - just more shaky security system.
 
Old 09-04-2002, 07:55 AM   #3
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Original Poster
Rep: Reputation: 45
Sorry, I meant sudo.

Beyond that, the point I have is to avoid givng someone admin rights without that person typing in a password other than the root password.

Is it possible to do that?
 
Old 09-04-2002, 08:57 AM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
sure, you need to setup sudo correctly. You can give certain users certain priveleges for certain programs/commands they might run. You might want to take a look here
http://www.zdnet.co.uk/news/specials...rticle004.html
Basically, what you do you setup different users into groups, and allow certain groups to run certain apps/commands/programs that require root privelege, hence avoiding to much stuff with suid bit set, and hiding root password from the users.
 
Old 09-04-2002, 11:48 AM   #5
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Original Poster
Rep: Reputation: 45
Well thats cool, I learned something new and will check that out.

But here is what I am wanting. I am wanting every person who logs on to not have any kind of default admin powers. Everytime they need to do soemthing that requires that kind of power, they are asked a password. Kinda like when you go in as a user in MDK and then try to run Linuxconf... it asks you for the root password.

But I dont want to give out the password for root, but instead issue them asudo password separate fromt heir user logon and not have it be the root password.

I hope that makes better sense.
 
Old 09-04-2002, 11:52 AM   #6
brangnutux
LQ Newbie
 
Registered: Jul 2002
Location: DC
Distribution: Mandrake 8.1
Posts: 11

Rep: Reputation: 0
You are more trusting than I. The beauty of this sytem is that someone can do whatever they please in THEIR OWN directory, and they can also leave all the others just as they found them, without exception. You gotta love that!
At work I am forced to operate the M$ system issued to me by the people I work for. If I want to install something, whether it be productive or not, I have to grab my buddy the "IT GUY". Whatever! If we were running a proper network I would be able to use what I wanted inside my own little space, as it should be.
 
Old 09-04-2002, 07:01 PM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Steph, are you talking about ACLs? http://acl.bestbits.at/
 
Old 09-04-2002, 10:58 PM   #8
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Original Poster
Rep: Reputation: 45
Well, I dont think so, although I looked that over and it looks pretty cool. Of course, BeOS had file attributes nailed cold.

Think of what I am asking as this: Homeboy wants to access an encrypted file on the system. When he selects it, it then asks for a password. THis is what I am trying to figure out if it is possible, except with user passwords and their assoc permissions.
 
Old 09-04-2002, 11:10 PM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
This may be a dumb suggestion. How about changing your root password temporarily, while they need to install the software, or whatever. Then change the password back again when they are finished.
 
Old 09-04-2002, 11:13 PM   #10
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
It seems like that would not be necessary Stephanie.

If you want the user to have that type of permission on certain files then you would want to add them to a group that has permission. then if they login they will be able to do it.

Either way they would do what you let them and only need one password.


Or you could use a script that will prompt for a password on some files.

redhat uses something like that. they put commands that are links in the users path to "consolehelper" and when the command is used the consolehelper runs and prompts for a password, then runs the actual command.

I think it's using sudo
 
  


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
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
Booting into Single User on MDK 9 asks for root password instead of booting into root acadcworks Linux - General 6 01-10-2006 06:51 AM
asking root password madogy Programming 3 10-28-2005 03:43 AM
root password amer_58 Linux - Newbie 6 08-20-2005 02:41 PM
Logged in as root, prompted for root password ta0kira Slackware 13 04-25-2005 01:29 AM

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

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