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
NETRC(5)						      BSD File Formats Manual							  NETRC(5)

NAME
netrc -- user configuration for ftp SYNOPSIS
~/.netrc DESCRIPTION
This file contains configuration and autologin information for the File Transfer Protocol client ftp(1). The .netrc file contains login and initialization information used by the auto-login process. It resides in the user's home directory. The following tokens are recognized; they may be separated by spaces, tabs, or new-lines: machine name Identify a remote machine name. The auto-login process searches the .netrc file for a machine token that matches the remote machine specified on the ftp command line or as an open command argument. Once a match is made, the subsequent .netrc tokens are processed, stopping when the end of file is reached or another machine or a default token is encountered. default This is the same as machine name except that default matches any name. There can be only one default token, and it must be after all machine tokens. This is normally used as: default login anonymous password user@site thereby giving the user automatic anonymous ftp login to machines not specified in .netrc. This can be overridden by using the -n flag to disable auto-login. login name Identify a user on the remote machine. If this token is present, the auto-login process will initiate a login using the specified name. password string Supply a password. If this token is present, the auto-login process will supply the specified string if the remote server requires a password as part of the login process. Note that if this token is present in the .netrc file for any user other than anonymous, ftp will abort the auto-login process if the .netrc is readable by anyone besides the user. account string Supply an additional account password. If this token is present, the auto-login process will supply the specified string if the remote server requires an additional account password, or the auto-login process will initiate an ACCT command if it does not. macdef name Define a macro. This token functions like the ftp macdef command functions. A macro is defined with the specified name; its con- tents begin with the next .netrc line and continue until a null line (consecutive new-line characters) is encountered. If a macro named init is defined, it is automatically executed as the last step in the auto-login process. SEE ALSO
ftp(1), ftpd(8) Linux NetKit (0.17) September 23, 1997 Linux NetKit (0.17)
All times are GMT -4. The time now is 01:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy