[MacTUG] Fileu (N-drive) userid mapping issue

Herbert Balagtas hbalagta at uwaterloo.ca
Mon Jan 19 09:50:23 EST 2015


I had the same issue after upgrading to Yosemite, my machine wasn’t joined to nexus and unfortunately my userid on this machine wasn’t the same as my nexusid.
Basically used the same command Dani suggested, I created an automator app and added it to my login items.

[cid:B751533C-1321-4D71-AE6C-3693DE124571]

Best regards,

Herbert Balagtas
Unix Systems/Web Development Specialist
Arts Computing Office, PAS 2026
Hbalagtas at uwaterloo.ca<https://connect.uwaterloo.ca/owa/redir.aspx?C=UUN_j9VgdkGDIn_h7lVWC69yJ6RFu9EIks5DdFXMDy_E0paTs2GUR1rGcqisSb6rN3T3rl53Ycg.&URL=mailto%3aHbalagtas%40uwaterloo.ca>
519-888-4567 x 32597

How was my service today? Please fill out the survey and let us know!<https://connect.uwaterloo.ca/owa/redir.aspx?C=UUN_j9VgdkGDIn_h7lVWC69yJ6RFu9EIks5DdFXMDy_E0paTs2GUR1rGcqisSb6rN3T3rl53Ycg.&URL=https%3a%2f%2fuwaterloo.ca%2farts-computing%2ffeedback-form>
https://uwaterloo.ca/arts-computing/feedback-form<https://connect.uwaterloo.ca/owa/redir.aspx?C=UUN_j9VgdkGDIn_h7lVWC69yJ6RFu9EIks5DdFXMDy_E0paTs2GUR1rGcqisSb6rN3T3rl53Ycg.&URL=https%3a%2f%2fuwaterloo.ca%2farts-computing%2ffeedback-form>

From: Dani Roloson <daroloso at uwaterloo.ca<mailto:daroloso at uwaterloo.ca>>
Date: Friday, January 16, 2015 at 5:16 PM
To: Keith Peck <keith.peck at uwaterloo.ca<mailto:keith.peck at uwaterloo.ca>>, MacTUG <mactug at mailman.uwaterloo.ca<mailto:mactug at mailman.uwaterloo.ca>>
Cc: Jason Gorrie <jbgorrie at uwaterloo.ca<mailto:jbgorrie at uwaterloo.ca>>
Subject: Re: [MacTUG] Fileu (N-drive) userid mapping issue

 2) if you want the current logged in user dynamically,
     checking the owner of /dev/console seems to be one way

open smb://fileu.uwaterloo.ca/users\$/`/bin/ls -l /dev/console | /usr/bin/awk '{ print $3 }'`

but this also seems to work

open smb://fileu.uwaterloo.ca/users\$/$USER

You'd avoid the second one if you might possibly be running the script using ARD UNIX as root
(because something in the script needs that level of power)
since it resolves to root instead of the currently logged in user.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uwaterloo.ca/pipermail/mactug/attachments/20150119/f7b884ad/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2015-01-19 at 9.44.27 AM.png
Type: image/png
Size: 473564 bytes
Desc: Screen Shot 2015-01-19 at 9.44.27 AM.png
URL: <http://lists.uwaterloo.ca/pipermail/mactug/attachments/20150119/f7b884ad/attachment-0001.png>


More information about the MacTUG mailing list