1834555 Members
3394 Online
110069 Solutions
New Discussion

Adding vuewmrc to skel

 
SOLVED
Go to solution
Stacey Lyons
Occasional Contributor

Adding vuewmrc to skel

When creating a new user, I want to copy a modified .vue dir to the new $HOME dir. I currently use the /etc/skel dir to copy the . files over but this doesn't work for directories because the executable (upuserfiles) only uses cp instead of cp -R. Is there a way to accomplish this task without changing the default sys.vuewmrc on each machine or having to login to vue and then editing the files I need? I really wanted this is be automated with the $HOME dir creation.

Thanks.
2 REPLIES 2
Pete Randall
Outstanding Contributor
Solution

Re: Adding vuewmrc to skel

Stacey,

What I've done is to customize SAM to handle this for me. First of all, I use a template to fill in many of the common fields, then I use a customized script to copy the base system files to the users' new home directory. In SAM, under "Accounts for Users and Groups", select "Users", then "Actions", and "Task Customization". You can then fill in the full path name of a script to be run before/after add/removing users. The "Help" button can give you details of variables available to your script.


Pete


Pete
Stacey Lyons
Occasional Contributor

Re: Adding vuewmrc to skel

Thanks! I'm still new to this admin job and haven't had much experience with SAM yet. Pretty nifty!! I think that will do the trick.