Sponsored Content
Operating Systems Linux Debian X2go server on Debian 8.10, stdin is not a tty Post 303024339 by brighamandrew on Saturday 6th of October 2018 11:54:28 AM
Old 10-06-2018
Sorry for the delayed response. I am using a Windows client. I was able to figure out the problem. in /etc/profile, there was a custom script being included that I overlooked. /etc/profile was looping through and including all the scripts it could find from within /etc/profile.d/ the culprit was called /etc/profile.d/custom.sh which was added by my web host provider. This script was not testing for shell interactivity so I added the check and that fixed it.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

stdin not tty when try to pine or redirect

My supervisor keep getting "stdin not tty" or something like that when he pipe or redirect input into a program. Others don't seem to get this message. Is there some way I can help him to fix or turn this off? Thx in advance (1 Reply)
Discussion started by: Micz
1 Replies

2. UNIX for Dummies Questions & Answers

First Server (Debian) MacBook Remote Login

Hi, I just picked up the book "Linux System Administration" and would like to get started setting up a server. I currently have a MacBook running OS X 10.5.1 and would like to use it for remote loging to the server. I have a Netgear WGR614 v6 wireless router. I'm wondering if I will be... (3 Replies)
Discussion started by: andou
3 Replies

3. Debian

Debian ftp server

What the best FTP server to run on debian.. it has to be secure and stable.. also any guides flying around ? Thanks (3 Replies)
Discussion started by: wmccull
3 Replies

4. Debian

Usually problems with Windows Explorer in w2k3 over server Debian 3.0

Hi. I have problems sometimes going to "My Network Places" in the Windows Explorer. Sometimes works OK and sometimes appears an Explorer.exe Application Popup: <<The instruction at "0x10004160" referenced memory at "0x10004160". The memory could not be "read">> and the Explorer go out or is... (0 Replies)
Discussion started by: luisben
0 Replies

5. IP Networking

Usually problems with Windows Explorer in w2k3 over server Debian 3.0

Hi. I have problems sometimes going to "My Network Places" in the Windows Explorer. Sometimes works OK and sometimes appears an Explorer.exe Application Popup: <<The instruction at "0x10004160" referenced memory at "0x10004160". The memory could not be "read">> (Event ID: 26 at the Windows... (0 Replies)
Discussion started by: luisben
0 Replies

6. Debian

Debian with PPTP Server

Dear All My scenario is Debian with PPTP Server in which I am able to connect to through other machines. Ive enable echo 1 > /proc/sys/net/ipv4/ip_forward and through client machine i can browse internet as well I created another pptp client in debian server which connects to another... (0 Replies)
Discussion started by: kazimnaim
0 Replies

7. Debian

Best RAID settings for Debian Server? Help!! (1+0 or 5 or NAS)

I am installing a Debian Server on a: HP Proliant DL380 G4 Dual CPU's 3.20 ghz / 800 mhz / 1MB L2 5120 MB RAM 6 hard disks on HP Smart Array 6i controller (36.4 GB Ultra320 SCSI HD each) I will be using this server to capture VHS video, encode, compress, cut, edit, make DVD's, rip... (0 Replies)
Discussion started by: Marcus Aurelius
0 Replies

8. Debian

How to exit debian server terminal?

I have an situation that are quite strange to me. I am not able to exit the server terminal and enter back into my home computer terminal by the command exit like I used to be able to exit the server terminal with before. I end up into my root shell again without even typing the root password like... (6 Replies)
Discussion started by: Jonathan Sander
6 Replies

9. Debian

Tar backup of debian server

Am reading this doc Full Hard-Drive Backup with Linux Tar on backup. why do we need the dot at the end ? tar -cvpf /backups/fullbackup.tar --directory=/ --exclude=proc --exclude=sys --exclude=dev/pts --exclude=backups . (7 Replies)
Discussion started by: coolatt
7 Replies

10. Shell Programming and Scripting

Python: Redirecting to tty and reading from tty

In bash, you can do something like this: #!/bin/bash echo -n "What is your name? " > /dev/tty read thename < /dev/tty How can I do the same in python? I have a python script that has the following content: #!/usr/bin/python2.7 import getpass import sys import telnetlib import... (2 Replies)
Discussion started by: SkySmart
2 Replies
AULAST:(8)						  System Administration Utilities						AULAST:(8)

NAME
aulast - a program similar to last SYNOPSIS
aulast [ options ] [ user ] [ tty ] DESCRIPTION
aulast is a program that prints out a listing of the last logged in users similarly to the program last and lastb. Aulast searches back through the audit logs or the given audit log file and displays a list of all users logged in (and out) based on the range of time in the audit logs. Names of users and tty's can be given, in which case aulast will show only those entries matching the arguments. Names of ttys can be abbreviated, thus aulast 0 is the same as last tty0. The pseudo user reboot logs in each time the system is rebooted. Thus last reboot will show a log of all reboots since the log file was created. The main difference that a user will notice is that aulast print events from oldest to newest, while last prints records from newest to oldest. Also, the audit system is not notified each time a tty or pty is allocated, so you may not see quite as many records indicating users and their tty's. OPTIONS
--bad Report on the bad logins. --extract Write raw audit records used to create the displayed report into a file aulast.log in the current working directory. -f file Use the file instead of the audit logs for input. --proof Print out the audit event serial numbers used to determine the preceeding line of the report. A Serial number of 0 is a place holder and not an actual event serial number. The serial numbers can be used to examine the actual audit records in more detail. Also an ausearch query is printed that will let you find the audit records associated with that session. --stdin Take audit records from stdin. EXAMPLES
To see this month's logins ausearch --start this-month --raw | aulast --stdin SEE ALSO
last(1), lastb(1), ausearch(8), aureport(8). AUTHOR
Steve Grubb Red Hat Nov 2008 AULAST:(8)
All times are GMT -4. The time now is 11:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy