[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
nohup.out and Symlinks
From: |
Richie Laager |
Subject: |
nohup.out and Symlinks |
Date: |
Sun, 10 Jun 2001 20:46:11 -0500 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
When nohup runs a program whose output is a terminal, it redirects stdout and
stderr to a file named nohup.out in the current directory. What would stop
someone from creating a symlink called nohup.out that points to /etc/passwd
or some other important file, and then waiting for root to run nohup?
Hopefully I'm missing something, but if I'm not, I think this qualifies as a
bug.
Richie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjskIuwACgkQbfU6uV4fG85hBgCfdz01Vg6OXIfgmxYsPTzXIzeI
gX8AnA1yK1VQlVC+MIRkbc0FsVgsRQic
=kV75
-----END PGP SIGNATURE-----
- nohup.out and Symlinks,
Richie Laager <=