User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Shell Scripting section within the Software Development category of DaniWeb, a massive community of 428,242 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,288 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Shell Scripting advertiser: Programming Forums
Views: 430 | Replies: 2
Reply
Join Date: Dec 2007
Posts: 2
Reputation: lishannx is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
lishannx lishannx is offline Offline
Newbie Poster

i need help!

  #1  
Dec 1st, 2007
ive been reading up tutorials from this website. but i don really understand how to do this to my program.

ive a filename name passwordFile.
and my program that i wrote using shell script can see online current users.
but ive no idea how to read it into a file.

and i need to encrypt data in passwordFile and track user usage?
wad shall i do to activate.

can someone help?


thank yuu very much!


-shannx
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2007
Posts: 275
Reputation: eggi is on a distinguished road 
Rep Power: 1
Solved Threads: 26
eggi eggi is offline Offline
Posting Whiz in Training

Re: i need help!

  #2  
Dec 1st, 2007
Hey there,

can't be too specific because I'm not sure exactly what you're trying to do or what your code looks like.

If you want to read the program into a file
cat program >file
if you want to read a file into the program
program <file

to encrypt data use either regular passwd, htpasswd or openssl

Tracking user usage would require parsing a usage file or keeping track of live statistics. I can't be any more specific than that with the info you've given.

Best of luck

, Mike
Linux and Unix Tips, Tricks and Individual Advice - The Linux and Unix Menagerie!
------------------------------------------------------------------------
Having trouble passing cert exams? Check out How To Pass Any Computer Certification Test!
Reply With Quote  
Join Date: Dec 2007
Posts: 2
Reputation: lishannx is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
lishannx lishannx is offline Offline
Newbie Poster

Re: i need help!

  #3  
Dec 2nd, 2007
ive a filename call passwordFile with the functions of adding users, deleting users,locking the workstation etc all using nano script writing.

within these scripts and the username and password in this passwordFile, i must be able to encrypt data in passwordFile and track user usage.

eg : for tracking users usage. yuu ned to sign in with yr username and password first.

continue to reply me . thank yuu.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Shell Scripting Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the Shell Scripting Forum

All times are GMT -4. The time now is 3:52 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC