Pwd script | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Pwd script

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-08-2013
lawsongeek lawsongeek is offline
Registered User
 
Join Date: Aug 2011
Last Activity: 10 October 2014, 3:49 PM EDT
Posts: 77
Thanks: 0
Thanked 1 Time in 1 Post
Pwd script

when user types "pwd.sh joe" at command line, it generates pwd as abc123 and when user types "pwd.sh jane" at command line, it generates pwd as abc123.

pwd will change every 90 days.

my pwd file will be always abc123 until i change joe/jane/bob pwd manually.
Sponsored Links
    #2  
Old 02-08-2013
rbatte1 rbatte1 is offline Forum Staff  
Moderator
 
Join Date: Jun 2007
Last Activity: 24 October 2014, 3:13 PM EDT
Location: Lancashire, UK
Posts: 1,869
Thanks: 599
Thanked 322 Times in 290 Posts
So, what are you asking for? Is this meant to generate a random password perhaps?

Using "pwd" is rather confusing as that is usually interpreted as "Present Working Directory"


Can you clarify?


Thanks
Robin

---------- Post updated at 02:18 PM ---------- Previous update was at 02:18 PM ----------

So, what are you asking for? Is this meant to generate a random password perhaps?

Using "pwd" is rather confusing as that is usually interpreted as "Present Working Directory"


Can you clarify?


Thanks
Robin
Sponsored Links
    #3  
Old 02-08-2013
lawsongeek lawsongeek is offline
Registered User
 
Join Date: Aug 2011
Last Activity: 10 October 2014, 3:49 PM EDT
Posts: 77
Thanks: 0
Thanked 1 Time in 1 Post
no, i will have a pwd file which resides /tmp/pwdfile.txt

content in /tmp/pwdfile.txt is just abc123

when i change joe/jane/bob and so on pwd, i will update /tmp/pwdfile.txt manaully.

for example, right now, it's abc123

3 months from now, it will be xyz123
    #4  
Old 02-08-2013
elixir_sinari's Avatar
elixir_sinari elixir_sinari is offline Forum Advisor  
Registered User
 
Join Date: Mar 2012
Last Activity: 9 October 2014, 4:50 PM EDT
Location: India
Posts: 1,412
Thanks: 101
Thanked 496 Times in 473 Posts
Where/what is the problem/issue?
I (and probably the others too) don't see that.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
getting pwd of script SkySmart Shell Programming and Scripting 2 10-22-2012 12:41 PM
Unable to get $PWD value from script in /etc/init.d cielle Red Hat 4 04-30-2012 09:32 AM
script to change shell's pwd gigagigosu Shell Programming and Scripting 3 12-20-2011 01:19 PM
script for db user pwd noorm Shell Programming and Scripting 0 08-12-2011 03:03 PM
sync samba pwd with aix5.3 pwd tjmannonline AIX 2 08-23-2010 08:18 AM



All times are GMT -4. The time now is 07:49 AM.