How can l create a user that as all the Attribute & Privilages of root


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat How can l create a user that as all the Attribute & Privilages of root
# 1  
Old 02-09-2005
How can l create a user that as all the Attribute & Privilages of root

Hi,

Is it possible to create a user in Linux 8.0 with all the attribute and the privilages of super user (root). Without using root as the logg in name.

Thanx
# 2  
Old 02-09-2005
Hi,

root line from etc/hosts needs to be yanked and pasted as root user
Change the name from root to whoever you want to give this account to and clear the passwrd field..save the file..you are all set..the new user will have to change his password on initial login
thanks

Nayeem
# 3  
Old 02-09-2005
Quote:
Originally Posted by nayeemmz
Hi,

root line from etc/hosts needs to be ....
nayeemmz means /etc/passwd
# 4  
Old 02-09-2005
Thanks for correcting that typo ....yes it is /etc/passwd
# 5  
Old 02-10-2005
etc/hosts does not have any entry patterning to root user instead you specify the ip address and system name in that file. May be l am getting you.

Thanx
# 6  
Old 02-10-2005
Kayode, Please see Perderabo's correction above.
# 7  
Old 02-16-2005
Hi dangral,

I do understand but, what l mean is that etc/hosts does not holds root users accounts. In RedHat linux 8.0 what etc/hosts holds is ipaddress and the computer host name with the alias name. So that is why l said l seem not to be getting what he was saying.

Thanx
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to create a file even root user also cant delete?

Is there any way to create a file in linux that root user also can't delete? (8 Replies)
Discussion started by: palani13dec
8 Replies

2. UNIX for Dummies Questions & Answers

Create user with sudo ability to root.

Hi All, I need to give an user sudo ability to root. We have also generated RSA key but unable to proceed further. For example after a user logs into the server normally and when he executes below command $ssh root@server_name This should take you to root prompt # Please help me.... (3 Replies)
Discussion started by: Rockyc3400
3 Replies

3. AIX

How to create a user as a root

please give me any suggestion, how can i create user as root privilege. (please give me very safest way because i have production servers) (5 Replies)
Discussion started by: reply.ravi
5 Replies

4. Solaris

Unable to create or delete a directory in /usr with root user

Hi All, I am trying to uninstall jdk 1.5 from my Solaris 10 64 bit but some how was not successful.so tried to delete the folder of jdk from /usr but its throughing error as: Unable to remove directory jdk: Read-only file system Even I tried to create a dir in /usr but its not allowing me... (4 Replies)
Discussion started by: Pshah
4 Replies

5. Shell Programming and Scripting

How to create a directory inside root as different user

Hi All, I have directory under /opt/test. The ownership of the test directory is root:root. I have login to the server as test user. I need to have some script to create a directory inside /opt/test. This script will be called as test user. When I try to execute... (4 Replies)
Discussion started by: kalpeer
4 Replies

6. AIX

create user like root

hello I would like to create another user like root With smit user, I have duplicate all the configuration from root to root2 (groupe, secondary group, administrative, etc...) But when I connect with root2, i don't go to all directory: "permission denied !" I don't understand where is the... (10 Replies)
Discussion started by: pascalbout
10 Replies

7. SCO

Executing script with root privilages from a user login

I need to regular users to be able to launch a script which does something requiring root privilages. I've tried using chmod 4755 which gives it -rwsr-xr-x permissions but it still can not be run as the regular user. (1 Reply)
Discussion started by: checkpro
1 Replies

8. Shell Programming and Scripting

Root privilages

I maintain the root password so the other sysadmins cannot have it due to security. They have a script that is used to shutdown and reboot multiple clients. but it needs to be run as root. they mentioned sticky bit and another type of setting called RBAC. I want them to be able to run this script... (4 Replies)
Discussion started by: deaconf19
4 Replies

9. UNIX for Advanced & Expert Users

Other than root user .Normal user is unable to create files

Hi all, I am using Sun Solaris 9 .In this system normal users unable to create files from the command line.I added these users in bin,adm and even root group i found them unable to create a file. (1 Reply)
Discussion started by: mallesh
1 Replies

10. UNIX for Dummies Questions & Answers

create or modify user account to have same access as root

Is there a way to create or better yet modify a user account so it has the same privs as root? (6 Replies)
Discussion started by: xadamz23
6 Replies
Login or Register to Ask a Question