Solved

Automated login question

Posted on 2000-02-25
5
182 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
need to clone a white copy of a linux device 2 75
Problem to start Neon 20 84
Error installing extension Linux 4 58
nagios remote hosts 9 42
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" …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

914 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

22 Experts available now in Live!

Get 1:1 Help Now