Go Back   Aquarium Advice - Aquarium Forum Community > Community Forum > Aquaria Off-Topic
Click Here to Login

Join Aquarium Advice Today
Closed Thread
 
Thread Tools Search this Thread Display Modes
Please support our sponsors and let them know you heard about them on AquariumAdvice.com
 
Old 05-23-2005, 06:08 PM   #21
AA Team Emeritus
 
czcz's Avatar
 
Join Date: Nov 2004
Location: US
Posts: 2,821
Success?
__________________

__________________
"2- before attempting to plant, have a beer or a Bourbon. That will help to steady your hands…" -- elwaine

wet.biggiantnerds.com
czcz is offline  
Old 05-24-2005, 09:22 AM   #22
Aquarium Advice Addict
 
Join Date: Dec 2003
Location: Central Ohio
Posts: 1,728
Send a message via Yahoo to deli_conker
Sorry for not updating.

Tested copy script and it worked fine.
I found a list of all the users in a text file and copy/paste on a windows box into notepad after the copy script.
Code:
chown username:users /home/username
...
chown root:root /home
Used copy/paste like crazy to essentially complete a bunch of chown commands.

Couldn't find any way of doing passwd command. You can't use the -e switch while setting the password. Thank God for tab complete...

The chown part would have been simpler, but I couldn't get the "basename" to work.
Everything tested out okay though and the boss was happy.

Thanks for your help guys...
__________________

__________________
deli_conker is offline  
Old 05-24-2005, 10:55 AM   #23
AA Team Emeritus
 
czcz's Avatar
 
Join Date: Nov 2004
Location: US
Posts: 2,821
I should have explained better: script previous would have changed all the passwords to "yourpass" with moduser and chowned files. Previous code to that does passwd -e. Of course can combine scripts and/or adapt Steve's as you learned earlier. There is a work around for user input but longer script and usermod is effective and "better" practice once you workaround its encrypted password requirement (in this case with openssl, but man recommends crypt just fyi). Maybe you can use this info later. Glad it worked out.
__________________

__________________
"2- before attempting to plant, have a beer or a Bourbon. That will help to steady your hands…" -- elwaine

wet.biggiantnerds.com
czcz is offline  
Closed Thread

Tags
ick

Please support our sponsors and let them know you heard about them on AquariumAdvice.com

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick Question DeadOrAlive Saltwater Fish Only & FOWLR 2 12-16-2009 04:07 PM
quick question mike3epanda Saltwater Fish Only & FOWLR 2 07-28-2007 08:47 AM
Quick question... ntswift Saltwater Reef Aquaria 15 03-25-2006 01:36 AM
Quick question fishman Saltwater Reef Aquaria 4 08-05-2004 10:21 AM







» Photo Contest Winners








Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -4. The time now is 08:26 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.