Sponsored Content
Full Discussion: Change login process
Top Forums UNIX for Advanced & Expert Users Change login process Post 303000999 by bakunin on Tuesday 25th of July 2017 03:17:26 AM
Old 07-25-2017
Quote:
how to change behaviour of standard Linux login window?
I am not really sure what you mean by that: Linux has no "login window".

Linux (like UNIXes, to which it is quite similar) has a "login" process. Whenever a terminal becomes free, this login process will start a session there and present a (text-based) login/password prompt.

What you perhaps mean by "login window" is the following: many graphical environments (GNOME, KDE, ....) don't deem it reasonable that the user uses the described login process and then start whatever graphical environment he wants. They basically intercept the login process and replace it with their own graphical version of it. Search for "gdm" (graphical display manager) for a detailed descrition of how this works.

This doesn't mean you have to use it, though. you can still trigger the native login process and use it to log in a user at the system. You will probably make use of "udev"-rules: "udev" is a kernel driver that constantly scans the system for changes in hardware. If you, for instance, put in a CD into the CD-ROM-drive and you get a nice symbol on your desktop, this is (ultimately) udev at work. udev works from a rule-set which basically states "if this and this happens execute this list of actions".

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

change login dir

Ok when I log in to my terminal I land in a dir. How can I change the dir that I start from when I login? Thanks for the help, sure it is a no brainer for you guys cd (5 Replies)
Discussion started by: lorcet222
5 Replies

2. UNIX for Dummies Questions & Answers

Password change at login????

I want Red Hat Linux 7.2 prompt for new password at next login time. How can I do this????? passwd -f don't work for linux...... (4 Replies)
Discussion started by: rrivas
4 Replies

3. UNIX for Dummies Questions & Answers

Login screen change

If I want to change a Solaris 8 login screen to add a Company name what do I need to do ? Current login prompt SunOS 5.8 login: ... (2 Replies)
Discussion started by: miredale
2 Replies

4. AIX

Change users login name

Hi, I need to change some users login name in AIX. With solaris i donīt had problems, i have used "usermod". But in AIX the usermod command donīt have the same behavior. Can someone give me a tip on how to perform these changes? Thanks in advance. (9 Replies)
Discussion started by: spacewalker
9 Replies

5. UNIX for Dummies Questions & Answers

I want to change login failure message, "login incorrect"

I want to change login failure message, "login incorrect" deny user login for user id tom sudo passwd -l tom type username and type password on login prompt and then it will display login failure message "login incorrect" console ############ login: tom password: login incorrect... (2 Replies)
Discussion started by: lifegeek
2 Replies

6. Post Here to Contact Site Administrators and Moderators

How can i change my login ID?

Hello, How can i change my login ID? My login ID is younus_syed. Thanks & Regards Younus Syed (10 Replies)
Discussion started by: younus_syed
10 Replies

7. Post Here to Contact Site Administrators and Moderators

change of login id..

Hi, Can I change my login id having my current account alive? I found one thread related to this which shows that it is possible. I also agree that this is not done in normal terms. Still, can I request for it? I really dont want to lose my current account and my post count. would... (1 Reply)
Discussion started by: clx
1 Replies

8. Shell Programming and Scripting

Change Last Login within /etc/shadow

Was wondering if any had a script to change the last login field within the /etc/shadow? Need to it run against machines to "reset" the last login so local accounts will not expire if account isn't access within the mandatory setting we are force to implement. Thanks!!!! (5 Replies)
Discussion started by: Luv_STL
5 Replies

9. Shell Programming and Scripting

change login

Hi, I have a script called from php, which executes the following code: basename $arxivo .doc > nombre nom=`cat nombre` antiword -t $arxivo > $nom.txt rm nombre The problem is that I do not antiword conversion. I guess the problem must be that the user does not have permissions... (2 Replies)
Discussion started by: uri_crack
2 Replies

10. Solaris

Change Password on First Login

Hi there, Is there a way to ask the solaris user to change passwordo n the first login. I am looking at how to do this for every single new user. (5 Replies)
Discussion started by: alvinoo
5 Replies
UL(1)								   User Commands							     UL(1)

NAME
ul - do underlining SYNOPSIS
ul [options] [file ...] DESCRIPTION
ul reads the named files (or standard input if none are given) and translates occurrences of underscores to the sequence which indicates underlining for the terminal in use, as specified by the environment variable TERM. The terminfo database is read to determine the appro- priate sequences for underlining. If the terminal is incapable of underlining but is capable of a standout mode, then that is used instead. If the terminal can overstrike, or handles underlining automatically, ul degenerates to cat(1). If the terminal cannot under- line, underlining is ignored. OPTIONS
-i, --indicated Underlining is indicated by a separate line containing appropriate dashes `-'; this is useful when you want to look at the underlin- ing which is present in an nroff output stream on a crt-terminal. -t, -T, --terminal terminal Overrides the terminal type specified in the environment with TERM. -V, --version Display version information and exit. -h, --help Display a help text and exit. ENVIRONMENT
The following environment variable is used: TERM The TERM variable is used to relate a tty device with its device capability description (see terminfo(5)). TERM is set at login time, either by the default terminal type specified in /etc/ttys or as set during the login process by the user in their login file (see setenv(1)). SEE ALSO
colcrt(1), login(1), man(1), nroff(1), setenv(1), terminfo(5) BUGS
Nroff usually outputs a series of backspaces and underlines intermixed with the text to indicate underlining. No attempt is made to opti- mize the backward motion. HISTORY
The ul command appeared in 3.0BSD. AVAILABILITY
The ul command is part of the util-linux package and is available from Linux Kernel Archive <ftp://ftp.kernel.org/pub/linux/utils/util- linux/>. util-linux September 2011 UL(1)
All times are GMT -4. The time now is 08:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy