It's actually strange, but Is there any way through which I can assign super user rights to normal user.
Actually su/sudo/rbac does solve these but switching id is the problem for an application.
For eg: $dladm show-dev
insufficient priviliges.
Is there any way to get it done ?
Also I tried adding user with 0 uid & gid (same as root) but it won't accept password.If I change that ID to above 100, password works
This should work. Aliasing the root account is a common practice. I guess you incorrectly created that alias. One way to fix it would be to run as root these commands, assuming altroot is the new username with a userid equal to 0:
@tuxian: it would help if you tell why you want to grant some privileges in the first place, and specifically what specific ones. There are plenty of ways to grant some or all privileges to a user but the best practice is to grant only the least privileges required, not all of them.