08-27-2016
You will need to adapt it slightly for your case.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Friends,
I have to grant SHUTDOWN privilege to an ordinary user.
How this can be achieved?
J1yant (4 Replies)
Discussion started by: j1yant
4 Replies
2. Programming
Hello,
Can some one tell how to read the thread IDs of the current process in Sun Solaris.
Any help will be appreciated.
regards,
Murali (0 Replies)
Discussion started by: hmurali
0 Replies
3. Shell Programming and Scripting
How can I create a large list of document ids, about a 1,000 or more in a list without having to type them in?
If I can list these documents ids with one command I know how to transfer the output to a new vi list.
But how can I strip unwanted extra information in this list and leave only the... (1 Reply)
Discussion started by: ruben7566
1 Replies
4. Forum Support Area for Unregistered Users & Account Problems
Hi ,
Is it possible to list the user's email id for further communication.
Thanks,
MoonwalaPL (3 Replies)
Discussion started by: moonwalapl
3 Replies
5. UNIX for Advanced & Expert Users
Hello guys,
I have a file in the following format(each line seperated by TAB):
=========
Filename id
Filename id1
Filename id
Filename1 id7
Filename1 id7
Filename2 id1
Filename2 id1
Filename2 id3
Filename3 id2
Filename3 id4
Filename3 id4
Filename3 id6
=========
I would like to... (2 Replies)
Discussion started by: jingi1234
2 Replies
6. UNIX for Dummies Questions & Answers
what does x(in rwx) privilege mean?
just text files or shell script files?
that's so confusing. (3 Replies)
Discussion started by: kang
3 Replies
7. Emergency UNIX and Linux Support
I have a situation where I would like to retrieve a list of ids on AIX 5.3 server, which do not have proper gecos information. The need is to fix all of these ids before it gets flagged as an audit exposure. Can someone please help me with a command/script to retrieve this list?
G (3 Replies)
Discussion started by: ggayathri
3 Replies
8. Shell Programming and Scripting
Hi,
I wanted to check which all functional ids have been set up to be used as sftp functional ids? Where can I find this data in solaris machine? (1 Reply)
Discussion started by: sidnow
1 Replies
9. Shell Programming and Scripting
Hi,
I need to list out the processes which are started/restarted today in my Solaris box. If not possible need to convert the process uptime in minutes or seconds and compare it with a configurable value to list out those process ids for further processing in my scripting.
Can any one guide... (7 Replies)
Discussion started by: ananan
7 Replies
10. UNIX for Beginners Questions & Answers
I wish to pull out a list of all user ids on the system, including the privileged ids, the groups to which they belong to. Sometimes after deleting an id also, its home dir does not get deleted or an entry is left behind in /etc/passwd.
Can someone help me with a script to achieve both. (2 Replies)
Discussion started by: ggayathri
2 Replies
GETTY(8) System Manager's Manual GETTY(8)
NAME
getty - set typewriter mode
SYNOPSIS
/etc/getty [ char ]
DESCRIPTION
Getty is invoked by init(8) immediately after a typewriter is opened following a dial-up. It reads the user's login name and calls
login(1) with the name as argument. While reading the name getty attempts to adapt the system to the speed and type of terminal being
used.
Init calls getty with a single character argument taken from the ttys(5) file entry for the terminal line. This argument determines a
sequence of line speeds through which getty cycles, and also the `login:' greeting message, which can contain character sequences to put
various kinds of terminals in useful states.
The user's name is terminated by a new-line or carriage-return character. In the second case CRMOD mode is set (see ioctl(2)).
The name is scanned to see if it contains any lower-case alphabetic characters; if not, and if the name is nonempty, the system is told to
map any future upper-case characters into the corresponding lower-case characters.
If the terminal's `break' key is depressed, getty cycles to the next speed appropriate to the type of line and prints the greeting message
again.
Finally, login is called with the user's name as argument.
The following arguments from the ttys file are understood.
0 Cycles through 300-1200-150-110 baud. Useful as a default for dialup lines accessed by a variety of terminals.
- Intended for an on-line Teletype model 33, for example an operator's console.
1 Optimized for a 150-baud Teletype model 37.
2 Intended for an on-line 9600-baud terminal, for example the Textronix 4104.
3 Starts at 1200 baud, cycles to 300 and back. Useful with 212 datasets where most terminals run at 1200 speed.
5 Same as `3' but starts at 300.
4 Useful for on-line console DECwriter (LA36).
SEE ALSO
init(8), login(1), ioctl(2), ttys(5)
GETTY(8)