•
•
•
•
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 455,985 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,789 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: 460 | Replies: 2
![]() |
•
•
Join Date: Dec 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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
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
•
•
Join Date: Oct 2007
Posts: 302
Reputation:
Rep Power: 2
Solved Threads: 29
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
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!
------------------------------------------------------------------------
Having trouble passing cert exams? Check out How To Pass Any Computer Certification Test!
•
•
Join Date: Dec 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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.
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.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Shell Scripting Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Other Threads in the Shell Scripting Forum
- Previous Thread: Unable to capture sql output using shell script while running it through browser
- Next Thread: Starting, Stopping, Updating Shell Script


Linear Mode