![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| using sed to get rid of duplicated columns... | fedora | Shell Programming and Scripting | 5 | 1 Week Ago 07:45 AM |
| remove duplicated columns | kamel.seg | Shell Programming and Scripting | 6 | 02-21-2008 04:36 AM |
| Random duplicated print jobs | Barry Staples | SCO | 1 | 03-20-2007 02:34 PM |
| grep and delete 2nd duplicated of txt... -part2 | happyv | Shell Programming and Scripting | 16 | 01-19-2007 02:40 AM |
| Log files duplicated themselves? | DISTURBED | UNIX for Dummies Questions & Answers | 4 | 07-01-2002 06:54 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Can root ID be duplicated
Hi,
I have the root id and the uid is always 0 for the root. Can i create another user say admin with the uid as 0? If so will it have the same privilege as that of user. Will there be any effect while doing this? lorcan |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
We can create a such user id with duplicate uid of root. But don't know the effect of it
|
|
#3
|
|||
|
|||
|
It will still be the same user. The UNIX kernel and filesystems identify users by the uid, not the name.
|
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
||||
|
||||
|
Of course, you will have full root privilege with that user cause your ID is 0, but single user mode is the better way to recover a lost root password
|
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
|||
|
|||
|
on an audit perspective, you will invite alot of questions from the auditor for having 2 ids with number 0.
|
|||
| Google The UNIX and Linux Forums |