The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Switching from one DNS to another ortsvorsteher Linux 5 08-14-2008 08:33 PM
Switching between users thell SUN Solaris 1 10-22-2007 10:18 AM
Switching the active pts? tspicher UNIX for Dummies Questions & Answers 4 06-25-2007 08:52 PM
switching shells?? xNYx UNIX for Dummies Questions & Answers 6 11-21-2002 04:43 PM
Context Switching keelba UNIX for Advanced & Expert Users 2 11-15-2002 11:26 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-02-2008
deepusunil deepusunil is offline
Registered User
  
 

Join Date: May 2008
Posts: 8
Switching between two users

Can any one tell me :
How we can switch between two users without prompting for the password. (In the SHELL SCRIPT can we fetch the USERID and PASSWORD from a specified file, without using SUDO command)?
  #2 (permalink)  
Old 07-02-2008
dennis.jacob dennis.jacob is offline Forum Advisor  
dj - the student
  
 

Join Date: Feb 2007
Location: Singapore/Bangalore/Cochin
Posts: 610
it is not possible. Or you can use some tools like "expect" to enter password inside the scripts.
  #3 (permalink)  
Old 07-03-2008
deepusunil deepusunil is offline
Registered User
  
 

Join Date: May 2008
Posts: 8
Thanks will check that.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0