Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.7: Mount AFP volume with root bug' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Mount AFP volume with root bug
Authored by: hellomrzebra415 on Jan 09, '12 10:15:19AM

There are VALID reasons why someone would want to log in a root via the gui. I myself have one and also gripe that i have to mount a share via the command line while I am logged into root. And by the way I DO KNOW WHAT I AM DOING. Rather then tell people they are doing something wrong, you may want to find out why they are doing what they are doing and maybe provide a work around. There is always more then one way to do a task.

[ Reply to This | # ]
10.7: Mount AFP volume with root bug
Authored by: arcticmac on Jan 09, '12 10:53:58AM

It's true, people will tend to suggest that doing a full login as root is probably doing it wrong. I'm generally inclined to agree, but before I pass judgement, I _would_ love to hear what it is that you're using it for? Similar to one previous poster, I haven't done a GUI root login since 10.2. That's not to say that I don't use sudo quite a lot, and once in a while even 'sudo bash' (that's usually when I'm needing to do rooted things on someone else's machine and don't want to have to ask for their password 35 times).

So, what is it that you're doing?

Also, re the original post, wouldn't it be a whole lot easier to just (haven't tried this)

sudo -u guest osascript -e 'mount volume "afp://username:password@server/path/"'

[ Reply to This | # ]