LinuxQuestions.org
Help answer threads with 0 replies.
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 02-26-2004, 11:13 AM   #1
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
non UID '0' admin


is there a way to set up a system so that a user that doesnt have a UID of 0 can be the admin, im looking to make a single user system more secure. its on a cluster (with a shared filesystem) and my goal is that it wont have the required permisions to delete crap.

I realize that in all likeleyhood ill have to name my admin "root" cause thats what many programs require, but if I change roots UID and GID to like 6001:6001 and then go "chown -R root:root /*" do you think my system will be destroyed or more secure?

what I fear most is the proc filesystem, is there a way to mount that so that everyone has write access?
 
Old 02-26-2004, 11:22 AM   #2
lone_nut
Member
 
Registered: Dec 2003
Location: Denmark
Distribution: Mandrake
Posts: 179

Rep: Reputation: 30
You cant change the UID for root. I acient days of unix (in the seventies i think) the original unix were made. internally it "think" of users as numbers. To improve userfriendlyness, it has a system of usernames, and there coresponding user numbers.
If for example a user tries to open a file, the system checks if the usernumber is allow to open the file, exept if the number is 0. if the number is 0 no check is required.
So if you atempt to change roots usernumber, you will most likely end up with a system, nobody can use.
 
Old 02-26-2004, 11:35 AM   #3
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Original Poster
Rep: Reputation: 30
hmmm, im open to second opinions. but another option im trying to figure out, is if there was a way to disable local root login (but still allow non root users to log in) i would be happy.

mabee some sort of special arguements on the "getty" command or "login" command
 
  


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
What is my uid/gid? Jeebizz Slackware 2 11-22-2005 11:39 AM
User admin and N/w admin on Gnome hangs ssrini *BSD 2 07-28-2005 07:55 AM
Set UID hinetvenkat Linux - Security 4 06-08-2005 03:50 AM
FREEBSD5.3 platform: PHP setcookie() successful, but $uid = $_COOKIE['uid']; fail tclwp Programming 1 03-30-2005 08:05 PM
how to change UID linuxidiot2 Linux - General 2 07-30-2004 04:17 PM

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

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