If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > help...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-03-02, 02:35
hiba_t hiba_t is offline
Registered User
 
Join Date: Aug 2002
Posts: 3
Arrow help...

Hi, I need to know if there is a way to write a script that could change the user (maybe by using su command) but without having to pass the password as a parameter ?
Please help..
Reply With Quote
  #2 (permalink)  
Old 09-03-02, 06:19
Bernd Dulfer Bernd Dulfer is offline
Registered User
 
Join Date: Sep 2002
Location: Germany, near Aachen
Posts: 120
Re: help...

Quote:
Originally posted by hiba_t
Hi, I need to know if there is a way to write a script that could change the user (maybe by using su command) but without having to pass the password as a parameter ?
Checkout the sudo command.
Manpage at http://www.courtesan.com/sudo/man/sudo.html
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On