Changing Multiple users accounts?

Changing Multiple users accounts?

Post by david roma » Sat, 05 Aug 1995 04:00:00



I was hoping someone had or could tell me how to make a script that would at
its simplest core allow me to copy a file from one account (like root for
example) to all the other /home/users acounts?

Basically, if I see a neet little trick or whatever (like this .logout) file
now, and want to implement it, I don't want to have to go in by hand to all
the users accounts and copy it in there.

I tried "cp -v /root/.logout /home/*" but that didn't work?
either did "cp -v /root/.logout /home/*/"

besides, I need to "chmod 644 .logout" anyways, so even if it did work, the
second part wouldn't. Is there a way to do this via like $HOME or something
and can the filename be a variable.

Daevid.
     <http://TheMatrix.com/><http://www.servtech.com/public/dae51d/>

 
 
 

1. Multiple outgoing ppp accounts for multiple users--how to do it?

I have several co-workers sharing a single machine.
They would each like to be able to dial up their respective ISP's
from work, but we want to (as much as possible) prevent any
one user from dialing up on another user's account... so each
user needs his own ppp access (none concurrently) to his own
isp.
I can set up ppp, no problem, but getting each his own script and
getting the permissions straight I could use some help with.

Please?

Hey, I heard penguins feed their young by regurgitating into their
mouths.  That kind of describes linux support. :-)

2. Lost ADSL Connection After Debian Update

3. Have multiple users user one mail account

4. New beta driver for SB Live

5. Use WinNT User Accounts on Linux -- Centralize User Accounts

6. bdflush/update broken under 1.3.88?

7. One account for multiple users

8. SCO OpenServer 5.0.4 vs. DE500 card?

9. NEED: Single-User Multiple-Billing Accounting Methodology

10. multiple user accounts with KDE 1.1pre2

11. Multiple e-mail "identities" under a single Linux user account?

12. Changing root dir of user account

13. Password change for a user account in LINUX remotely using PHP