15 reputation
6
bio website
location
age
visits member for 2 years, 6 months
seen Dec 5 at 17:36

Aug
20
accepted btrfs won't run from cron
Aug
20
answered btrfs won't run from cron
Aug
16
awarded  Editor
Aug
16
revised btrfs won't run from cron
added 1 character in body
Aug
16
comment btrfs won't run from cron
Yes, cron is running, although ls -l | grep cron isn't the command to tell me that. pgrep cron returned a PID. I also added a job * * * * * touch /root/foo, which worked as expected.
Aug
16
asked btrfs won't run from cron
Dec
30
awarded  Popular Question
Dec
7
comment curl http_code of 000
After some more searching, it seems that 000 is intended to indicate that the connection timed out. However, when I see this while running directly from the command line, the curl commands exit almost immediately (more quickly than 200 responses) rather than hanging as you'd expect. Still trying to determine if this issue is client-side or server-side.
Nov
13
awarded  Tumbleweed
Nov
6
awarded  Scholar
Nov
6
awarded  Supporter
Nov
6
accepted Run a shell script in an existing terminal session
Nov
6
accepted Non-command line Telnet server
Nov
6
asked curl http_code of 000
Aug
20
comment Non-command line Telnet server
@Scott, you seem to be misunderstanding my security concerns. I work it a high-traffic production environment where security is a major concern, so anything granting shell/database access is subject to strict whitelisting. The telnet project would have to be publicly-accessible, so under no circumstances should it be possible to get even a shell prompt via telnet. My other major concern has been ensuring that in the event that VLC crashes, the session will exit cleanly without ever providing a prompt, but that doesn't seem to be an issue with a custom shell.
Aug
20
comment Non-command line Telnet server
Looks like this functionality is supported in telnetd on Ubuntu, but I'm still investigating. I have, however, managed to get the video to play for an authenticated user test by writing a simple shell script and setting it as login shell: #!/bin/bash \n cvlc -V aa /var/local/vlc/test.mp4 (Using \n in place of newline here because Superuser collapses line breaks in replies.)
Aug
20
comment Non-command line Telnet server
That's correct. I'm experimenting with an aalib-based telnet video player. I'll see if it's possible to adapt your solution to use a shell script wrapper. The other complication is that the telnet server should accept anonymous logins (and no user login). Port 22 uses an IP whitelist, but port 23 will have to be wide open. Thanks for the response. I'll have to look into the security implications further before accepting it, but I appreciate the effort you've put in. I don't have enough rep to vote up just yet.
Aug
20
awarded  Student
Aug
20
asked Non-command line Telnet server
Jun
20
comment Run a shell script in an existing terminal session
The current script has its own logging, both to a database and a log file. However, these logs are just single lines indicating who deployed what and when. The temp file would be a full dump of everything presently returned by the script, including ssh connection messages, svn checkout, and so forth. In all, the output in the script as it stands is about 25 lines. Logging this to a permanent file is overkill. // The decision to make the command interactive is over my head. That's a must. It's mostly being used by PHP developers, many of whom have very minimal experience with the command line.