I think I have one. A friend of mine has this on his machine. Create a user name, whatever, music, and then in /etc/passwd change the typical:
bob:x:1001:100:J.R. "Bob" Dobbs,13013,,:/home/bob:/bin/bash
To something like:
music:x:1002:100:Put Another Nickel In,,,:/home/music:/usr/local/bin/mp3blaster
In this case there is no password in /etc/shadow for the user music, but there easily could be one. When someone logs in as music, instead of exec'ing bash, it executes mp3blaster.
Cheers,
Finegan
|