Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Login 1

Status
Not open for further replies.

mikey62

MIS
Jul 16, 2002
82
US
how do I set auto login for RH for a user acc't I created. Thus = I dont have to type my user name every time when the redhat 8.0 box boots up.

 
Since I dont use Redhat, I'll try to guide you how to do this.

1: Log into your machine as ROOT using KDE as your GUI.
2: Go to the "control center"
3: Choose the "system" tab and then "Login Manager" on the sidebar.
4: In the main panel, go to the "convenience" tab and set your name to "truly automatic login.
(optional) 5: You may want to go to the "users" tab and have all valid users shown on the screen (similar to WinXP login). The KDE team made the gui login interface easy to maintain. Please let Tek-Tips members know if their posts were helpful.
 
Is there a way I can login as root automatically. Any How-Tos on the same or any other link which might be useful.

I tried to google but found nothing. I am using the computer in my house and there is no 'security' problem.

regards,
vijay.
 
Very dangerous to login as root automatically. You only want to be in root to do adminstrative tasks. A malicious person only needs to guess your password to take over. Better to create another user profile for regular logins. Newposter
"Good judgment comes from experience. Experience comes from bad judgment."
 
hi,
You can definitely login automatically.What u need to do is

1)Goto the "Systems Tools" or "Systems Settings" in the KDE menu .
there u will find a "Login Manager"
there u can set the automatic login for any user.
Beware not to set the root for autlogin.

regds,
Pankaj
 
Guys,

I want to auto-login as root and plus, there are no security threats here. I am the only person who works in Linux and everyone are go-go with M$.

Please let me know a way to login as ROOT. Are there sny scripts or any tweaks available.

regards,
vijay.
 
Unless your computer is in a locked room and not connected to a LAN/WAN it should never be logged in as root unless you are repairing system damage. Most jobs can be done without logging in as root. The only safe computer is one that is not plugged in.(and then it's not totally safe)
 
That's the absolutely LAST thing you want Linux (or any unix for that matter) is to login root automatically. It's not JUST a security matter either. If you're a user, you can only harm soo much of the system ,usually that being /home/{USER}. If you sent an erronous rm -rf ./ but missed that period, it'd wipe out your home dir, but not touch anything else. If you're root.. better have backup ;-(

Secondly, if you're using KDE< it has a program &quot;kdesu&quot; that allows a program to run AS ROOT. Most programs that need it will pop up this request.

As a last note, if you want to stay safe from accidental harm, you can do the following:
1: rename /bin/rm to /bin/remove
2: create ~/trash directory with rwxrwxrwt (read/write/execute for everybody with sticky on everybody)
3: create script in /bin/rm that moves files to ~/trash

The idea is to recreate the recycle bin for Linux. Usually, it's a good idea, cause you have to actually call remove to erase files.

the ~ in my stuff, for the linux newbies is your home path. Do a cd ~ to see what I'm talking about. Please let Tek-Tips members know if their posts were helpful.
 
Thanks. and yes I agree with Most of you do NOT set autologin for root ever.
 
Is there any way to restrict auto-login to whomever is using the keyboard? Secondarily, is there a way to prevent anyone and everyone from logging in remotely?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top