![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| create user like root | pascalbout | AIX | 10 | 02-09-2009 05:30 PM |
| switching user from root to ordinary user | sasia | Shell Programming and Scripting | 3 | 01-25-2008 10:25 PM |
| Su to user from root | nitin | Shell Programming and Scripting | 3 | 10-25-2006 03:21 AM |
| Other than root user .Normal user is unable to create files | mallesh | UNIX for Advanced & Expert Users | 1 | 06-22-2005 12:18 PM |
| root user | hassan2 | UNIX for Advanced & Expert Users | 1 | 05-29-2002 02:15 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
|||||
|
Reply yes it is possible this is some times used to allow operations to do some tasks
But this is not good practice if you leave this user open. There are a few things you can do to make this save and workable. New in AIX is also role base access controls and this is a better way to control users access to some tasks. have a look at http://download.boulder.ibm.com/ibmd...ovies/RBAC.wmv |
|
||||
|
Generally speaking (this is not limited to AIX) every user with a user-id of 0 (zero) becomes a de-facto root user with a different login name and a different $HOME.
Still, as ravager already said, this arises several problems and is NOT recommended practice. I suggest you explain what you really want to achieve and probably there are other - better - ways to do this. One problem for example is that several tools get their information from /etc/passwd and implicitly rely on this database being unambigous. "ls", for instance, is one of these tools: if you issue an "chown myadmuser file" for some root-equivalent user "myadmuser" with UID 0 and then do an "ls -l" you will see that the owner si displayed as "root" - simply, because "root" si the first entry to match UID 0 in /etc/passwd. I hope this helps. bakunin |
|
||||
|
I have done this just today
Though this is not a good practice ...i had to do coz of my requirement add a user (say "adm") assign the primary group of the user to "system" #useradd -g <primary_group> <user_name> #useradd -g system adm set the password of user "adm" #passwd adm then edit the file /etc/passwd using vi editor and change the UID of the user "adm" to 0(zero) now login as user "adm" the user "adm" will be like root THIS IS NOT A GOOD PRACTICE THOUGH IT WORKS |
|
||||
|
root user
Thanks for your comments
One more question about sudo. I find a link about it Sudoers Manual Do you have another to talk about it. All this for security, weakness and strength,etc. Thanks again for the comments |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|