Users on AIX 5.2


 
Thread Tools Search this Thread
Operating Systems AIX Users on AIX 5.2
# 1  
Old 11-02-2006
Error Users on AIX 5.2

Hi everybody,

I have a system with AIX 5.2. I want to create a User on this system. This User shouldn't has an admin rights, but I want to allow him to remove any directory from a specific path where the owner of this path is another user (not root).

what is the properties that should be applied when creating this User?
and what is the permissions for the path that directories will be removed from it, if it is required?


Thanks in advance Smilie
# 2  
Old 11-03-2006
This is a tricky one! You have not said what the directory permissions will be or how this pseudo super user will need to get round such permissions. The simple way I can see of doing this would be to write a script which takes the directory name to be deleted and is run using the "su -c" command. This can then be run as root but only for this operation. Perhaps someone may come up with a better solution.
# 3  
Old 11-03-2006
This is a tricky one, allowing a user to delete any folders, I would also assume the user would see the files in any folders, and also allow the user to delete any files in any folders any where.... but can't be a admin...
I see some conflicts, but would love to see the answer if there is one.
# 4  
Old 11-06-2006
if you want to allow him to delete /home/test he must be in the group for the directory above, which is /home. It must have write right for the group, like
drwxrwxr-x 17 root group 4096 Nov 1 17:17 /home


otherwise you have to use sudo for this purpose

if thats an option for you I can give you the settings for the sudoers file
# 5  
Old 11-06-2006
Thanks guys for your answers.

Actually the directories that I want to be deleted are generated by CGI & perl scripts. So to get around my problems I found the main scripts then I inserted a statement system("chmod -R g+w $pathName$jobNumber"); at the end of these scripts.
This statement invokes the chmod command on the directory to give the group write permission on it.

Before I did this change the users when tried to remove one of the directories, they encountered a prompt to confirm deletion of some files inside these directories. I noted later on, the group has only read permission on these files. This is the reason why I added the statement above.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

AIX prompt delayed when users increase

I am facing a situation where when there are lesser users, i am able to login to the AIX server. If the number of users increase - the login prompt is getting delayed. Sometimes even timeout occurs. This is after the upgrade to AIX 7.1 TL 4. Can someone suggest a way to overcome this situation? (6 Replies)
Discussion started by: ggayathri
6 Replies

2. AIX

how many su - users I ejecute in prompt AIX 5.3

Hi Colleagues, My English is pretty bad, the help I need is this: entered into a machine with OS AIX 5.3 and i execute su - user1 and then i execute su - user2 and then i execute su - user3 and finally its su - user4. there is some command that tells me the its that i have made? Thank you... (2 Replies)
Discussion started by: systemoper
2 Replies

3. AIX

Users on Aix 6

Hello everybody My question is about which default userīs should I disable it on Aix 6.1 I would like to hear your opinions. Thanks for your comments (0 Replies)
Discussion started by: lo-lp-kl
0 Replies

4. Emergency UNIX and Linux Support

List of users on an AIX system

Is there a way to generate a list of users with name, user ID, and Security Group? It is urgent for audit purposes. Please help. (5 Replies)
Discussion started by: ggayathri
5 Replies

5. AIX

AIX users got expired !

Guy's .. I have faced an issue in AIX server, users got expired without asking me about the expiration and did not asking me to change the old password moreover will not accept my login with old password any more until reset the ID with new password Pls assist in this to how configure the... (3 Replies)
Discussion started by: Mr.AIX
3 Replies

6. UNIX for Advanced & Expert Users

Best practices with AIX system users?

All, Preliminaries: AIX 5.2 Tivoli Maestro 6.1 (9.2) I am auditing an older AIX system. As it stands, I can login remotely to the system using the Maestro application's user account. This is BAD. The administrator claims that he cannot disable the remote login, because it will... (1 Reply)
Discussion started by: Thatto
1 Replies

7. AIX

AIX audit users activity

Is there a tool or application the will audit users activity? I've tryed to use audit the comes with AIX but to gathers so much information it is near impossible to see what they are doing. I just want to monitor logins and and files they create or change. (9 Replies)
Discussion started by: daveisme
9 Replies

8. AIX

Migrating AIX users to Linux

Hi all, I was wondering if anyone out there knew if it was possible to migrate users from AIX to Linux. What we want to do is install OpenLDAP on a Linux machine and port all the users over to LDAP. I've googled around and could only find a few things, such as mrgpwd - but that only comes... (0 Replies)
Discussion started by: djcronos
0 Replies

9. AIX

Users in AIX

Good Afternoon How can i change password without it requests the following thing to me: Changing password for "prueba1" prueba1's Old password: what desire is that is made directly like in root: Changing password for "prueba1" prueba1's New password: In the company have a two role... (3 Replies)
Discussion started by: Lost in AIX
3 Replies

10. UNIX for Dummies Questions & Answers

Users In AIX

Good Afternoon How can i change the password without it requests the following thing to me: Changing password for "prueba1" prueba1's Old password: what desire is that is made directly like in root: Changing password for "prueba1" prueba1's New password: I need to create 2 users... (1 Reply)
Discussion started by: Lost in AIX
1 Replies
Login or Register to Ask a Question