RE: redirecting /tmp
Hi, Stop all processess. # rm -rf /tmp # mkdir /usr/tmp # chmod 1777 /usr/tmp # ln -s /usr/tmp /tmp Restart all processess. Regards SSR _ Easiest Money Transfer to India. Send Money To 6000 Indian Towns. http://go.msnserver.com/IN/42198.asp Easiest Way To Send Money Home! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
redirecting /tmp
I'm trying to find a way to set an environmental variable so that the system will use /usr/tmp or something instead of /tmp as a temporary directory. The story is that I was attempting to change the size of /usr remotely. I backed up all the data and then copied the bare necessities over to /tmp then changed fstab so the drive formerly known as /usr was never mounted and /tmp was mounted as /usr. Great! it worked... but now su isn't working... because now /tmp is 755. Any insights are welcome. -Robey Holderith ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: redirecting /tmp
At 9:37 PM -0500 3/4/04, Robey Holderith wrote: I'm trying to find a way to set an environmental variable so that the system will use /usr/tmp or something instead of /tmp as a temporary directory. Some utilities will pay attention to the TMPDIR environment variable. The story is that I was attempting to change the size of /usr remotely. I backed up all the data and then copied the bare necessities over to /tmp then changed fstab so the drive formerly known as /usr was never mounted and /tmp was mounted as /usr. Great! it worked... but now su isn't working... because now /tmp is 755. However, things that run setuid or setgid will probably avoid looking at environment variables. You may have painted yourself into a corner here, and will need to be at the machine to log in as root. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: redirecting /tmp
Garance A Drosihn wrote: At 9:37 PM -0500 3/4/04, Robey Holderith wrote: I'm trying to find a way to set an environmental variable so that the system will use /usr/tmp or something instead of /tmp as a temporary directory. Some utilities will pay attention to the TMPDIR environment variable. The story is that I was attempting to change the size of /usr remotely. I backed up all the data and then copied the bare necessities over to /tmp then changed fstab so the drive formerly known as /usr was never mounted and /tmp was mounted as /usr. Great! it worked... but now su isn't working... because now /tmp is 755. However, things that run setuid or setgid will probably avoid looking at environment variables. You may have painted yourself into a corner here, and will need to be at the machine to log in as root. That's kinda what I figured. Ah well, the night is quickly disappearing so it looks like I might as well give up until tomorrow when something can be done. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]