U can try doing following

$ su - <username> -c "urshell or any other command"



Cheers
Vishant

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pedro
Sent: Saturday, October 14, 2006 5:56 PM
To: [email protected]
Subject: [osol-help] Pass another shell to su

Hello,

Is there any way of passing another to su command? For example, in Linux
if I do su -s /another_shell the system overlaps the default shell in
/etc/passwd. Can I do someting similar in Solaris?
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]


The new company Nokia Siemens Networks is expected to start operations by 
January 1, 2007, subject to customary regulatory approvals, the completion of 
standard closing conditions, and the agreement of a number of detailed 
implementation steps.

Disclaimer:
This e-mail may contain trade secrets or privileged, undisclosed or otherwise 
confidential information. If you have received this e-mail in error, you are 
hereby notified that any review, copying or distribution of it is strictly 
prohibited. Please inform us immediately and destroy the original transmittal. 
Thank you for your cooperation.
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to