On 5/28/2009 7:03 PM, Christopher Faylor wrote:
I'm not really following this discussion closely but there should not,
by default, be any entries for /usr/lib or /usr/bin in your /etc/fstab
file.

I've actually come across one situation where things don't work right if those lines are missing. I often use 'ssh admin-u...@localhost' to simulate 'su'. After deleting the entry for /usr/bin from /etc/fstab, this produces the following:

-bash: /usr/bin/tr: No such file or directory
-bash: /usr/bin/sed: No such file or directory
$ ls /usr/bin
ls: cannot access /usr/bin: No such file or directory

The problem doesn't occur in the other direction. In other words, if I'm logged in as an administrator and then do 'ssh non-admin-u...@localhost', there's no problem. And everything is fine with the entry for /usr/bin restored to /etc/fstab.

Ken

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to