LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-20-2004, 06:22 AM   #1
imsajjadali
Member
 
Registered: Jan 2004
Location: Faisalabad-Pakistan
Distribution: Red Hat Linux 2.1 Advance Server
Posts: 102

Rep: Reputation: 15
user with root permision


I want to create a user with root permision....this new user must have permision to run services and other system related tasks. can any body tell me how can I create the user with root permision.

thanks in advance
 
Old 01-20-2004, 06:50 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 58
although i think this is an absolute silly idea, you can look into sudo
man sudo
for more details ...
 
Old 01-20-2004, 07:00 AM   #3
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
there are a few ways...

- create another entry in your /etc/passwd file with uid 0. this is the easiest approach but it might break some software. commands like pwck will complain if you do this.

- define the exact tasks this "root" user needs to do. then update the /etc/sudoers to include this user/commands.

- define the exact tasks this "root" user needs to do. put this special user into a group (eg admin). then chgrp the commands/files he needs to access the the special group and make them suid and disable execute for others)
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Permision? And Logoff? amer_58 Linux - Newbie 4 03-14-2005 11:35 AM
problen trying to change my stable to unestable, root user not have permision mie2 Linux - Newbie 0 11-21-2003 04:10 PM
User permision problems e1000 Slackware 6 11-06-2003 12:41 AM
giving root permision to a file tincho Programming 6 09-30-2003 11:33 AM
default user permision sourian Linux - General 5 08-29-2002 11:49 AM


All times are GMT -5. The time now is 03:04 AM.

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