On Sun, 29 Dec 2002, guy keren wrote:

>
> On Sun, 29 Dec 2002, Ishai Parasol wrote:
>
> > Another question. Is it possible to run pine with another user email file
> > (/var/spool/mail/USER) ?for example, I'm logged as root and want to read
> > USER2 emails (ofcourse, USER2 can't login, he's only a mail account and not
> > a "full user"). If it's impossible with pine, is there a client (not for X)
> > that can do it ?
>
> pine -f ../../../../../var/spool/mail/USER2
>
> pine's -f flag interprets its argument relative to the user's 'Mail' (or
> 'mail') directory - hence the need to use these '../' things. note that if
> you use '..' from the '/' directory, you remain in the root directory - so
> you can always use more '../' things, without getting errors.

an absulute path will also work. In case of an absulute path, the imap
library (which pine uses) will simply take the absulute path of the file.

Try 'pine -f /etc/passwd'

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to