Solved

Automated login question

Posted on 2000-02-25
5
181 Views
Last Modified: 2013-12-15
Hi, i'm sure this must be a silly question, i want to automate the login process of a specific user (i don't wanna use the rc.local) i'm using the redhat 6.1 distros...i tried configuring the .bash_login file of that user but that doesn't seem to do anything...any help? thx a lot ;)
0
Comment
Question by:paricitoi
  • 2
  • 2
5 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2559961
What do you mean by "automate the login process"? Do you want certain things running when the user logs in or are you trying to get the sytem to automatically log in the user when it boots?
0
 

Author Comment

by:paricitoi
ID: 2560300
yes, i would like certain command executed when a specific user log in...like an autoexect but just for that user...
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2560322
Where you put the command depends in part on what needs to be run and in part on what environment the user logs into (console, terminal, X), care to elaborate? It can be done, either a command line app or an X app, but I need to know what needs to be run.
0
 
LVL 3

Accepted Solution

by:
jyu_88 earned 50 total points
ID: 2560356
bash_profile will excute for login,
..bashrc will for each bash subshell spawned
..Xclients will run X clients if enter an X environment...
..Xsession will defines  a set of programs to run in X

if the user's shell is not bash, say it is ksh, then you need to use .profile, .kshrc instead., blah blah
0
 

Author Comment

by:paricitoi
ID: 2560388
The user log into a console...i'm gonna try that bash_profile...i'll keep you informed.
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now