AIX question..


 
Thread Tools Search this Thread
Operating Systems AIX AIX question..
# 1  
Old 10-12-2008
AIX question..

Hi,

There is a script runs as a specific user called "unixusr". But we don't want to give the access to the other teams to run as that id as that id owns lot of system binaries and libraries in other directories.. So can we create another id called "intusr" and internally set something in this id's profile so that it can execute the script as unixusr id?

Thanks.
# 2  
Old 10-12-2008
by setting the UID of intusr equal to unixusr's UID you can do that but the problem still persist. in your case other teams also login with unixusr ID?? if so your problem can't be solved as i said..
# 3  
Old 10-12-2008
I can't give access to unixusr id. I think there is a way to do this using sudo. But not sure exactly how to do that.
# 4  
Old 10-13-2008
You might want to read this for a short explanation on how sudo works.

Basically your assumption of needing sudo for what you want to achieve is correct: the only other solution to your problem would be to set the SUID bit so that the script could be run under another effective user id. For security reasons, though, setting the SUID bit on shell scripts is forbidden in all UNIX derivates i know of.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Some question about AIX

I have some question about aix: i know many unix system(hpux,solaris,etc) but never work with aix.. First question: updates/fixes are free or only commercial support? Second: Is easy like hpux,there are many differences between aix and other unix system? Thanks (5 Replies)
Discussion started by: Linusolaradm1
5 Replies

2. AIX

AIX IP security question

Recently the network auditor found a security hole at port 50000. The port 50000 is used by db2. When I enter command "netstat -Aan |grep 50000", it showed some established connections and are all db2 processes. I have asked the application team and they answered that the port 50000 connection... (2 Replies)
Discussion started by: skeyeung
2 Replies

3. AIX

AIX v5.2 Printer Question

Hi All, I have an AIX server runing v5.2.0.0 OS and i am trying to print to a printer attached to the parallel port. I have successfully configured a printer and a print queue. However, when i submit the job i get the following error Message from queueing system: 0781-088 Queue z:lp0 went... (4 Replies)
Discussion started by: rramanuj
4 Replies

4. AIX

got a dumb question where do i get AIX 5.3 from

Guys, ive been looking about , but obviously not hard enough, Where do i get AIX 5.3 from ? DO i need to purchase it or is it free to download on a single user license ?:confused: Thanks (2 Replies)
Discussion started by: wmccull
2 Replies

5. UNIX for Dummies Questions & Answers

PLI on AIX question

Hi, all. Can someone please help me with one problem? Maybe it's very simple but I have confused with it and need the help please. I have some PLI programs to be moved from MVS to AIX. These programs contain some SQLs on unqualified tables (for ex., select * from table1). When I compile... (0 Replies)
Discussion started by: Anta
0 Replies

6. AIX

AIX Virtualization question for non-AIX user

Hello, My first post to the Unix forums, thanks for having me! The division of the company I work for uses a xseries/redhat/VMWareServer solution to make sure that we keep hardware overhead low and use our machines to as near capacity as we can. These boxes are Intel with usually dual or... (1 Reply)
Discussion started by: greenteabagger
1 Replies

7. UNIX for Dummies Questions & Answers

AIX Question

What does it mean when a file has non-root ownership? (1 Reply)
Discussion started by: danielssk
1 Replies

8. UNIX for Advanced & Expert Users

aix's question

hi all, i'm really new to the aix system and i need ur help currently the home directory(/dev/hd1) is full, and i need to add more space to it from /dev/lv03. How do i do it?..can you show me step by step thankx (1 Reply)
Discussion started by: ichiro
1 Replies

9. UNIX for Advanced & Expert Users

AIX Question

Does anyone know of an AIX command that gets cpu type, speed and number of processors? TIA -mk (2 Replies)
Discussion started by: mikek147
2 Replies
Login or Register to Ask a Question