Computing.Net > Forums > Unix > su - c normal user

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

su - c normal user

Reply to Message Icon

Name: Gaurav Sharan Gupta
Date: January 3, 2003 at 07:45:34 Pacific
OS: Sun Solaris
CPU/Ram: 12 GB
Comment:

Hi!

I have two a/c on unix i.e a and b. I logged in as a first user (a) . Now I would like to like to run a command as a second user (b).
I don't have root access.
I tried this
su - - c
it is asking for password.
I want to run this script as a batch job. Is there any way by which I can specify the password there itslef?

Thanks in anticipation.
Gaurav



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: su - c normal user

Can a normal user create a user with useradd ??? www.computing.net/answers/unix/can-a-normal-user-create-a-user-with-useradd-/1258.html

Unable to set PS1 prompt - AIX - su www.computing.net/answers/unix/unable-to-set-ps1-prompt-aix-su/7856.html

su root as user from a script www.computing.net/answers/unix/su-root-as-user-from-a-script/6307.html