07-23-2017
Change login process
Hello everybody !
At the beginning - I hope everything will be understandable as I know that my english skills are not as good as I would like.
I use Manjaro Linux for one year, previously used Ubuntu for 6 years. Today I got an idea to create small USB electronic device but I don't know how to manage it under Linux. What this device should do ? This will be small box with USB interface, inside will be electronics to detect RFID card. If user will approach his RFID card to device - Linux should login that user to system. I suppose that I should write small linux kernel driver to USB that will be run in background and each correct try will log user. Of course, when user has no card it is still possible to login by login and password. My biggest problem is: how to change behaviour of standard Linux login window? What should I google or where find information? I'm not afraid with changing kernel, writing new modules, I would like to learn Linux at all
Thanks in advance for ideas !
Greetings
Mateusz
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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"
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
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
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
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
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
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
CHSH(1) User Commands CHSH(1)
NAME
chsh - change login shell
SYNOPSIS
chsh [options] [LOGIN]
DESCRIPTION
The chsh command changes the user login shell. This determines the name of the user's initial login command. A normal user may only change
the login shell for her own account; the superuser may change the login shell for any account.
OPTIONS
The options which apply to the chsh command are:
-h, --help
Display help message and exit.
-s, --shell SHELL
The name of the user's new login shell. Setting this field to blank causes the system to select the default login shell.
If the -s option is not selected, chsh operates in an interactive fashion, prompting the user with the current login shell. Enter the new
value to change the shell, or leave the line blank to use the current one. The current shell is displayed between a pair of [ ] marks.
NOTE
The only restriction placed on the login shell is that the command name must be listed in /etc/shells, unless the invoker is the superuser,
and then any value may be added. An account with a restricted login shell may not change her login shell. For this reason, placing /bin/rsh
in /etc/shells is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell
back to its original value.
FILES
/etc/passwd
User account information.
/etc/shells
List of valid login shells.
/etc/login.defs
Shadow password suite configuration.
SEE ALSO
chfn(1), login.defs(5), passwd(5).
User Commands 06/24/2011 CHSH(1)