Sponsored Content
Full Discussion: Stty settings before login
Operating Systems AIX Stty settings before login Post 302450611 by RedCabbage on Friday 3rd of September 2010 07:57:37 AM
Old 09-03-2010
Stty settings before login

Hello.

I'm experiencing a frustrating issue.

I'm using an old, unsupported terminal client (QVT) with AIX 6.1 using ssh2. I've come up with some stty settings that allow full usage of the system but to do so I've had to set "igncr". While this works fine once the user is logged in there are issues when creating a password.

When the user sets a new password of 7 characters and then hits enter a character appears to be added to the end as part of the <enter> (don't know which character - it's invisible because it's a password). When the user then tries to log in with the client's password popup it then doesn't match the original password.

If, when entering the new password, it is committed with ctrl-j instead of <enter> we have no problem so I'm assuming that if the stty settings within the users' .profiles were to be applied before the login prompt the problem would be solved, but I can see no way of doing this. The other alternative is the rather inelegant solution of mapping the enter key to "^j" within the terminal client - I would rather avoid this.

Can any provide any way of changing the stty default settings before the new password prompts?

Many thanks.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

stty

I am trying to set my backspace key as the erase key right now I have to type CONTROL-H to delete. Can you please tell me the command to set my backspace as the erase key...... (1 Reply)
Discussion started by: frank
1 Replies

2. UNIX for Advanced & Expert Users

stty erase r

after hitting this command...on pressing r acts as a backspace character.... how to disable this function (5 Replies)
Discussion started by: bishweshwar
5 Replies

3. UNIX for Advanced & Expert Users

stty: : Not a typewriter -- Help please

Hi All, I have been runing the same set of program using the same auto profile for an year. Now when i run the same set of process , i getting the below error Not a terminal stty: : Not a typewriter stty: : Not a typewriter ksh: jil: not found ksh: sendevent: not found logout... (4 Replies)
Discussion started by: arunkumar_mca
4 Replies

4. OS X (Apple)

Using stty

Hello, I am trying to configure a serial port, for mac os x 10.6. I believe I can use the stty command to look at serial port configuration and or change the serial port settings. I read the man page, but I don't really know what I am doing. Any help? (0 Replies)
Discussion started by: jamesapp
0 Replies

5. Shell Programming and Scripting

What settings are required for login to CVS using Terminal in Mac OS X?

Hi All, I want to login to CVS using terminal. I am executing the following command in the terminal :- export CVSROOT=: pserver:ags_rd@istcvs.corp.apple.com:/istcvs/CVSHOME cvs login But i get the following error : Afreens-iMac:buildTest Afreen$ export CVSROOT=:... (3 Replies)
Discussion started by: Afreen
3 Replies

6. OS X (Apple)

What settings are required for login to CVS using Terminal in Mac OS X?

Hi All, I want to login to CVS using terminal. I am executing the following command in the terminal :- export CVSROOT=: pserver:ags_rd@istcvs.corp.apple.com:/istcvs/CVSHOME cvs login But i get the following error : Afreens-iMac:buildTest Afreen$ export CVSROOT=:... (1 Reply)
Discussion started by: Afreen
1 Replies

7. Shell Programming and Scripting

Use of stty vs trap in script-driven login menu

My employers would like me to selectively run one of several different (already-existing) Korn Shell menu-driven scripts out of the user's .profile file, depending on some yet-to-be-specified user critieria. I've never done this kind of thing, but I have the existing scripts (among other... (5 Replies)
Discussion started by: Clovis_Sangrail
5 Replies

8. Shell Programming and Scripting

How to use stty?

Hi , I have shell scripting in linux box. This script is mentioned that should be run under the one particular user. If you run that mentioned user location then it is working fine.... Suppose if you are trying run from some other user like as mentioned below sudo su - gxadm -c script.sh ... (1 Reply)
Discussion started by: Mani_apr08
1 Replies

9. OS X (Apple)

Where does OS X store LDAP and login settings?

I'm writing scripts to check for compliance with the DISA STIG. Several items refer to manually click-click-clicking to verify settings regarding LDAP or accounts like guest account disabled, "Allow Guests to connect to shared folders", "Display login window as:", "Show input menu in login... (7 Replies)
Discussion started by: jnojr
7 Replies
GNOME-SETTINGS-DAE(1)						   User Commands					     GNOME-SETTINGS-DAE(1)

NAME
gnome-settings-daemon - GNOME settings daemon SYNOPSIS
gnome-settings-daemon [OPTION...] DESCRIPTION
gnome-settings-daemon provides many session-wide services and functions that require a long-running process. Among the services implemented by gnome-settings-daemon are an XSettings manager, which provides theming, font and other settings to GTK+ applications, and a clipboard manager, which preserves clipboard contents when an application exits. Many user interface elements of gnome-shell and gnome-control-center rely on gnome-settings-daemon for their functionality. The internal architecture of gnome-settings-daemon consists of a number of plugins, which provide functionality such as printer notifications, software update monitoring, background changing, etc. For debugging purposes, these plugins can be individually disabled by changing the gsettings key org.gnome.settings-daemon.plugins.plugin-name.active, where plugin-name is the name of the plugin. To see a list of all plugins, use the command gsettings list-children org.gnome.settings-daemon.plugins gnome-settings-daemon takes the name org.gnome.SettingsDaemon on the session bus to ensure that only one instance is running. Some plugins export objects under this name to make their functionality available to other applications. The interfaces of these objects should generally be considered private and unstable. gnome-settings-daemon is a required component of the GNOME desktop, i.e. it is listed in the RequiredComponents field of /usr/share/gnome-session/sessions/gnome.session. It is started in the initialization phase of the session, and gnome-session will restart it if it crashes. OPTIONS
-h, --help Prints a short help text and exits. --debug Enables debugging code. --timed-exit Exits after a timeout (30 seconds) for debugging. FILES
/usr/share/gnome-session/sessions/gnome.session GNOME session definition file where gnome-settings-daemon is listed as a required component. /etc/xdg/autostart/gnome-settings-daemon.desktop Autostart file for gnome-settings-daemon, where its autostart phase is set. SEE ALSO
gnome-shell(1), gnome-control-center(1), gnome-session(1) GNOME
GNOME-SETTINGS-DAE(1)
All times are GMT -4. The time now is 03:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy