10 More Discussions You Might Find Interesting
1. Linux
When unlocking a Linux server's console there's no event indicating successful logging
Is there a way I can fix this ?
I have the following in my rsyslog.conf
auth.info /var/log/secure
authpriv.info /var/log/secure (1 Reply)
Discussion started by: walterthered
1 Replies
2. Solaris
hi guys,
I don't know why I run this command:
echo a>/dev/console
It is not responsed from console and hang. If I run echo a>/dev/null, it is OK.
here it is the console file:
mcl1101 root#ls -ltr /dev/console
lrwxrwxrwx 1 root other 30 Aug 18 2009 /dev/console ->... (4 Replies)
Discussion started by: caspian
4 Replies
3. Solaris
Dear all,
i have two users user1 and user2 i want force user1 to login first by user2 and then su - user1
i want to prevent logging user1 from console directly (5 Replies)
Discussion started by: maxim42
5 Replies
4. Emergency UNIX and Linux Support
Hi,
I have been trying to capture console logs from the init script.
When the ramfs is mounted, i check if usb is connected , if conncted, i mount it and redirected the console logs like so:
cat & /dev/ttyS1 >> /mnt/logs.txt
I'm getting
/bin/sh : /dev/ttyS1 :permission denied
... (8 Replies)
Discussion started by: xerox
8 Replies
5. Shell Programming and Scripting
My intention is to log the output to a file as well as it should be displayed on the console > I have used tee ( tee -a ${filename} ) command for this purpose. This is working as expected for first few outputs, after some event loggin nothing is gettting logged in to the file but It is displaying... (3 Replies)
Discussion started by: sanoop
3 Replies
6. UNIX for Advanced & Expert Users
We are using software (Pegasys) which runs on SunOS 5.8 and reads images from a Philips nuclear camera. The software is designed to run from the console. I need to be able to capture the images it produces on the display. The caveat is that I cannot use the X Windows display because the X Server... (3 Replies)
Discussion started by: sreyes27
3 Replies
7. Solaris
I am running solaris 8 on a sparcs box. The system is connected to a lightwave console server. I have a script that hangs when sending output to '/dev/console'. Any ideas?
-V (2 Replies)
Discussion started by: vada010
2 Replies
8. Solaris
Hi, Anyone can help
My solaris 8 system has the following
/dev/null , /dev/tty and /dev/console
All permission are lrwxrwxrwx
Can this be change to a non-world write ??
any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
Well I've had a bit more experience with Unix-like environments since my last post, now that I have started working on my website in earnest and am doing much of the file manipulation via the command line through SSH.
The thing is, I want to be able to log all console activity,... (4 Replies)
Discussion started by: patwa
4 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I am fairly new to UNIX. I ran command tty on my shell prompt and it return me /dev/console.
I was reading in the book that normally output of tty command is tty01 , tty02 or so on.
My question is this is the file for my monitor? UNIX called it Terminal or Workstation?
What is this... (4 Replies)
Discussion started by: malikabid
4 Replies
TTYS(5) File Formats Manual TTYS(5)
NAME
ttys - terminal initialization data
DESCRIPTION
The ttys file contains information that is used by various routines to initialize and control the use of terminal special files. This
information is read with the getttyent(3) library routines. There is one line in the ttys file per special file. Fields are separated by
tabs and/or spaces. Some fields may contain more than one word and should be enclosed in double quotes. Blank lines and comments can
appear anywhere in the file; comments are delimited by `#' and new line. Unspecified fields default to null. The first field is the termi-
nal's entry in the device directory, /dev. The second field of the file is the command to execute for the line, typically getty(8), which
performs such tasks as baud-rate recognition, reading the login name, and calling login(1). It can be, however, any desired command, for
example the start up for a window system terminal emulator or some other daemon process, and can contain multiple words if quoted. The
third field is the type of terminal normally connected to that tty line, as found in the termcap(5) data base file. The remaining fields
set flags in the ty_status entry (see getttyent(3)) or specify a window system process that init(8) will maintain for the terminal line.
As flag values, the strings `on' and `off' specify whether init should execute the command given in the second field, while `secure' in
addition to `on' allows root to login on this line. These flag fields should not be quoted. The string `window=' is followed by a quoted
command string which init will execute before starting getty. If the line ends in a comment, the comment is included in the ty_comment
field of the ttyent structure.
Some examples:
console "/usr/libexec/getty std.1200" vt100 on secure
ttyd0 "/usr/libexec/getty d1200" dialup on # 555-1234
ttyh0 "/usr/libexec/getty std.9600" hp2621-nl on # 254MC
ttyh1 "/usr/libexec/getty std.9600" plugboard on # John's office
ttyp0 none network
ttyp1 none network off
ttyv0 "/usr/new/xterm -L :0" vs100 on window="/usr/new/Xvs100 0"
The first example permits root login on the console at 1200 baud, the second allows dialup at 1200 baud without root login, the third and
fourth allow login at 9600 baud with terminal types of "hp2621-nl" and "plugboard" respectively, the fifth and sixth line are examples of
network pseudo ttys, which should not have getty enabled on them, and the last example shows a terminal emulator and window system startup
entry.
FILES
/etc/ttys
SEE ALSO
login(1), getttyent(3), gettytab(5), init(8), getty(8)
7th Edition November 16, 1996 TTYS(5)