root is maybe a bad example.
We do it like this:
- Installed sudo
- Edited the sudoers file with visudo accordingly
- Log in with my personal account/user
- Do a "sudo su -" which is allowed via sudoers and I become root
So login in direct as root is not possible and we can see who logged in. We also control who may become root.
Maybe this is an alternative.
If root is not really necessary, just use "smit user" and create an account similar to the user you want to "imitate". You can use this also to read the users current settings.
Is it possible for me to create different username with the same UID or if not, different Username with same access rights on files, folders and objects without them joining in a group? ... Can you show me how?
example:
USR1
USR2
USR3
Also, i have tried creating a user name with the same configuration. USR1 with USR2. but with different UID's. USR2 cannot execute some commands that USR1 can execute? and also the same with files, folders and objects... How can I resolve this. by the way this is in AIX v.5. I use the smitty users to create the user.
Sorry, but this sounds a bit strange to me. Why do you want to clone users and keep the UID? Why not have every user his own unique UID etc. and put them together in groups? You can always try to manipulate your /etc/passwd but I can not foretell what will happen, up to you experimenting.
Maybe you describe a bit more what this stuff should be good for so we can offer alternatives.
Actually, I am creating a log in ID for AIX. I just want to make another login ID that has the same rights with the existing ID's. So we can log names of users who login. Example. The existing ID is ADM001. I want to make a login id ADMJOE. And I want them to have the same access, execution, commands rights.
I've tried making ADMJOE as similar to ADM001 using the smit user. But there are certain commands that ADMJOE cannot execute.
Please bear with me, this is just my first 1 month to handle Security Administration in AIX. Thank you for your responses. Hope you can help me...
it's possible to create "different" users with the same userid
just add 3 users for example
set them to the same userid in /etc/passwd
thats it (in this example no home directories are created)
they can have different or the same home directories, und they have their own passwords in /etc/security/passwd, since the name and not the id is important for passwords
and so you can put them in the same group in /etc/group
testgroup:!:207:test,test1,test2
but the better and more common way to handle this is with different user ids and same group permissions
Hi,
I always use "sudo -U user -l" as root and it gives me list of sudo access, that person have. But on one Solaris server, I can't run it. recently only I installed latest patchset on this server. Not sure, if that changed something on this. However, sudo package is showing old one.
# id -a... (1 Reply)
I have a user who's having troubles logging into one of my servers, that is authenticating with AD. After glancing over /etc/passwd, I found the users account is different than mine and others who aren't having any issues. What's the difference between these two accounts? What's the "1 60 14 60" ?... (1 Reply)
Hi All,
I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration.
Regards,
Sahil (1 Reply)
Hp info
HP-UX tmelps04 B.11.31 U ia64
issue I created a user in his primary group is sysadmin. However when this user executes HPPI he gets shot down because he is not a super user. How do I grant the user permissions to access the beroot script?
Sorry, user xxxxxx is not allowed to execute... (2 Replies)
hi all,
i want to know y kernel is giving access for multiple users to access a file when one user may be the owner is executing that file. Because other user can manipulate that file when the other user is executing that file, it will give the unexpected result to owner . plz help me... (1 Reply)
Hi,
I want to access another users files and directories.Is there any command to do in unix ??.I think CHOWN would work.May i know the exact command for it.
Regards, (1 Reply)
Under oracle user file abc.txt was created. Oracle user belong to dba group on UNIX Server. However other non Oracle users which belongs to some other network groups need read only access to this file.
Every time when I login as other then oracle user and try to view this file it saying that I... (2 Replies)
Hi ,
Could you please give me the commands for the following.
1.list users who have direct access to solaris database at os-level
2.list users who have administrative access at os-level in solaris
Please also let me know how to figure out these specific users i need from a... (6 Replies)
Hi All!
I would like to know if there is any specific way by which I can restrict access to apecific users (ip addresses).
OS : Red hat linux
Thanks!
nua7 (6 Replies)
Hi There,
i need to creat USERS in UNIX with restricted access to different directories.
for example
user1 should have access to dir1 and dir2
user2 should have access to dir2 and dir3
Please help me (4 Replies)