Using the ps command from ucb dir


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Using the ps command from ucb dir
# 1  
Old 06-21-2004
Using the ps command from ucb dir

On a Sun OS system we have, when executing a ps command it displays a third parties applications password. The ps command used is from the ucb dir, but if you use the ps command which resides in the bin dir it doesn't display the password.

Other users need to use the ps command from the ucb directory. So I can't remove it or stop them using it.
Is there anyway that I can configure the system to not show the applications password or is it dependent of the application?

Your replies are much appreciated
# 2  
Old 06-22-2004
What application is showing the password on the process list? It will likely be more easy to alter that than try to hamstring ps. I've seen sqlplus, weblogic and websphere all display this type of behavior, but each can be addressed.

Cheers,

Keith
# 3  
Old 06-22-2004
Could you not simply

alias ps ="/bin/ps"

to force the use of the "ps" that isn't protected by the third party software ?

Or do you have to use the /ucb/ps ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 compatibility/ucb install

Hi im a newbie to solaris. im given the task to install the compatibility/ucb component my environment is without internet connection. so when i ran the command: pkg install compatibility/ucb i get an error: Unable to contact valid package repository where can i find the download for this... (2 Replies)
Discussion started by: guy3145
2 Replies

2. Red Hat

How to create a command to enter into a dir?

Hi all, I want to create a command for entering into a specific dir. for eg if i want to go to /var/spool/postfix/pid at any point if i enter a command suppose "sp" in the command line it should take me to /var/spool/postfix/pid thanks (2 Replies)
Discussion started by: technoman
2 Replies

3. Shell Programming and Scripting

Run command on each and every logs of dir

HI i have below command and i want to run it on each logs of each and every Dir. /home/Laco/Al I have sub dir in this folder /home/Laco/Al/04092012/LP/X/*.logs /home/Laco/Al/04092012/LP/Y/*.logs /home/Laco/Al/04092012/LP/Z/*.logs /home/Laco/Al/04092012/LP/P/*.logs I want to run... (5 Replies)
Discussion started by: asavaliya
5 Replies

4. Shell Programming and Scripting

Using DIR command in FTP

Hi, Can the below command will be working in FTP dir */*/*/*.zip I want to dynamically know the folder names where the zipfiles are present. Thnx in advance. (1 Reply)
Discussion started by: weknowd
1 Replies

5. UNIX for Advanced & Expert Users

/usr/ucb/ps -auxwll

Hei, When I run the /usr/ucb/ps -auxwll with any other user except root I get nothing (Solaris 10 in global). Is a way to get the same resualt as root with my user. tnx Mehrdad (0 Replies)
Discussion started by: mehrdad68
0 Replies

6. Shell Programming and Scripting

problem get the value of /usr/ucb/ps -guxww

Hello all im trying to get the value of: /usr/ucb/ps -guxww | grep Tomcat | grep $USER | grep -v grepinto variable , im using csh . like this : set PS="/usr/ucb/ps -guxww" set isTomcat = `cat $PS | grep Tomcat | grep $USER | grep -v grep` but im keep geting this error: cat: cannot open... (4 Replies)
Discussion started by: umen
4 Replies

7. UNIX for Dummies Questions & Answers

How to get dir name tacked onto filename with ls command

hello i'm trying to figure out how to tack the directory name onto the file name when i do the ls -ltrR command please? --------------------------------------------------------------------------------- I do the following command ls -ltrR > ls.out and get the following output:... (5 Replies)
Discussion started by: bobk544
5 Replies

8. Shell Programming and Scripting

command to count files in dir

hi plz let me know the command to count the files in directory. thanks in advance -Bali Reddy (4 Replies)
Discussion started by: balireddy_77
4 Replies

9. Shell Programming and Scripting

Perl command syntax for C:\dir

Hi Everyone, Perl command syntax that would display my ... C:\dir .... Regards, asabzevari (1 Reply)
Discussion started by: asabzevari
1 Replies

10. UNIX for Advanced & Expert Users

command 'touch -c file/dir'

Dear expert, what is this command touch -c filename using for? I find if execute and filename is existed, it update the date to now. If the filename is not exeisted, it don't create the file.. so what is this command using for? Thank a lot! (1 Reply)
Discussion started by: zp523444
1 Replies
Login or Register to Ask a Question