Search Results

Search: Posts Made By: Steve Adcock
5,225
Posted By Steve Adcock
This may be the way to go Problems are...
This may be the way to go

Problems are probably due to the script running as root which means ~ still resolves to root's home.

What you should probably do is change CURRUSER $(logname) or even...
5,225
Posted By Steve Adcock
After changing the script so that CURRUSER=$1 the...
After changing the script so that CURRUSER=$1 the script creates the directories for all users that login.

The 2 things it still does not do is:
1. Exit the script when local admin users login....
5,225
Posted By Steve Adcock
Do you think I need to change the $CURRUSER to $1
Do you think I need to change the $CURRUSER to $1
5,225
Posted By Steve Adcock
I use a login window manager from (its...
I use a login window manager from (its free)http://www.bombich.com/mactips/loginhooks.html
and this uses unix to login hook (LoginHook (POSIX path)) and it allows you to store a script on the...
5,225
Posted By Steve Adcock
Would I do that just before I make the...
Would I do that just before I make the directories in the script and I am not quite sure how.
I guess I don't understand how your trying to use su.
Could you give an example in my script how you...
5,225
Posted By Steve Adcock
Hi I tried it and it makes sense but the script...
Hi I tried it and it makes sense but the script does not quite work yet , a bit of progress has been made at this link.
...
5,225
Posted By Steve Adcock
OSX 10.3 Thanks I'll give it a try.
OSX 10.3

Thanks I'll give it a try.
5,225
Posted By Steve Adcock
Shell script to create local homes
Hi
I am trying to write a login script for network based clients (OSX) that looks up local accounts eg admin, root, etc and exits the script so that it doesn't apply to them. Then for everyone else...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 02:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy