Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Automated login question

Posted on 2000-02-25
5
Medium Priority
?
189 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 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month6 days, 6 hours left to enroll

772 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