Search Results

Search: Posts Made By: jorgejac
12,272
Posted By jorgejac
Yea, I will have this on pending cause the man...
Yea, I will have this on pending cause the man commands I can't use it due admin restrictions with my user
12,272
Posted By jorgejac
Didn't work with pbrun, and I have my hands...
Didn't work with pbrun, and I have my hands tight, I don't have privileges to use man su cause company policies....any other work around? :/
12,272
Posted By jorgejac
I don't get it how the su can work here, instead...
I don't get it how the su can work here, instead of pbrun /bin/su - content, do su -c - content? I am not familiar with the su for this case
12,272
Posted By jorgejac
I already try it but it is stuck in there, I read...
I already try it but it is stuck in there, I read in another post in this forum

"When you pbrun into a different account a new login script is executed because of which it waits for at the command...
12,272
Posted By jorgejac
Can't due software approval restrictions. So...
Can't due software approval restrictions.

So as I am understanding the -m is not allowing to proceed due my server, but why I am able to run it manually in putty but not from the .bat file.
...
12,272
Posted By jorgejac
So I have a .bat file that will connect to putty...
So I have a .bat file that will connect to putty and execute the scripts in the path Documents\Heroes\e1_scripts.txt.

ssh.cmd
@echo on
cd C:\Users\jjaco23\Desktop
putty.exe -ssh ipaddress -l...
12,272
Posted By jorgejac
By automating, I am referring to instead of...
By automating, I am referring to instead of typing manually, everything will be read from an external file, I have an .sh file that connects to the server with the usr and password and read the...
12,272
Posted By jorgejac
Automating pbrun /bin/su not working, whenever manually it is working using putty
I am trying to automate a script where I need to use pbrun /bin/su but for some reason it is not passing thru the pbrun as my code below.

. ~/.bash_profile
pbrun /bin/su - content
c h 1
hpsvn...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 11:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy