Hi Joaq,,

Please try this,


# nohup su -u<userid> -p<passwd> /opt/jakarta/bin/shutdown.sh  -cY &

Note: dont put space between -u and userid,like this -u <userid>.you
can run without space.



On Aug 22, 2007 6:21 PM, Joaquin Henriquez (MI/EEM)
<[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I want to execute these command without the need for a password input.
>
> su - root -c /opt/jakarta/bin/shutdown.sh
>
> I am the superuser of the machine. Is there a possibility to put
> something like a -p password in that argument?
>
>
> BR
>
> Joaquin
>
> _______________________________________________
> Solaris-Users mailing list
> [email protected]
> http://www.filibeto.org/mailman/listinfo/solaris-users
>
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to