in reply to Re^2: How to run a perl script under "nobody" user?
in thread How to run a perl script under "nobody" user?
Probably the user nobody has the program /usr/sbin/nologin as its login shell, which prints the message you have quoted and then exits.
Possible solutions are (1) use sudo as I suggested, not su (2) convince su not to spawn a login shell (no - in the command line) or (3) give the user nobody a different login shell.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to run a perl script under "nobody" user?
by sunshine_august (Scribe) on Nov 19, 2008 at 10:38 UTC | |
by JavaFan (Canon) on Nov 19, 2008 at 10:54 UTC | |
by moritz (Cardinal) on Nov 19, 2008 at 10:46 UTC | |
by MidLifeXis (Monsignor) on Nov 19, 2008 at 14:58 UTC |