How to Auto Login By root user

How can I enable “Auto Login” for root user?
In " Yast → Security And Users → User And Group Management → Expert options → Login Settings " is just my own user and there’s no root user to choose.
please help :\

There’s a good reason for this. It prevents you from messing your system up and is more secure.

You shouldn’t need to login as root everytime your computer starts. Use your normal user account then switch to root user only when you need to.

Why do you need to auto login with root?

Take Care,

Ian

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

+1

Good luck.

ijbreakey wrote:
> There’s a good reason for this. It prevents you from messing your system
> up and is more secure.
>
> You shouldn’t need to login as root everytime your computer starts. Use
> your normal user account then switch to root user only when you need
> to.
>
> Why do you need to auto login with root?
>
> Take Care,
>
> Ian
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJKhBb3AAoJEF+XTK08PnB5MsoQALG0nMnkJqbhfsYEwOTuFwvi
Yf0iB7ccgnOenI9UQjKibIV41GEd7289oqcyD8qHfoNFYzkQVCFNVRCWM2eSdcS3
XCpNuFdULdMjTeWIFSlNsG9uAvKS09HWQ3dt5OHEYJLqC+ch97eIjMpc+V2EWMdD
+svDgUSPdjbgwEuyywJ2KNtsba/zDVx4WCVwKxrOxsesZOlgyrU6Qpf3CViVLMJT
8Z6b8hAwhrseFTF1bWYIWYbCkggDLMredMDQARmIC2laB3EsQMzvpuQ4usudrJtf
d0S7J28T7f0WI2QJYofNqhDM9sBbE1QloeZL0WE+jmS9gx5XeJTRn4sRsRjb7OvH
Eqlz79Hf5GX4QYUk1lZYbEY35kLkz9vh7nf8/IMOuL8GC1F2pWMmNYwaPFetb7fl
fhIUKPqvR2NdSagj3h/EAU11qMg2oNJTqQv7PO9raiOWbtaNtPiSHUEqOWQaqnGR
cDc8wTIBdiLcbxZdHjtV48jHyb6UlmHscMs8Z6pB7RTTCzDwPDO19ZpXAe0JRqnf
XpgLiCRtRaLO8IycYaOjzgRRIFbHKmxAxfaT69jOp4pIC38wqeJn0Zg5vMg86+yz
JtLAojIqQCO9UwfOPRrGiw1DlmR2HnrshZODfHfWtG7P/wMYqrbi/N8aUP5K0HVu
A9Lpr+tccCoOXwaU2u0k
=jFFF
-----END PGP SIGNATURE-----

I’m going a bit further: do you know what you’re asking?

What you are trying is against all measures taken to make linux the safest OS on earth. Virusmakers would be happy if this would be the new trend.
It means you are opening up your system in a terrible way.

So, don’t. Stick to ‘su’, or even better ‘su -c’ for every single command asking for root privileges.

Hi
Maybe a read here may help;
http://en.opensuse.org/Concepts
http://en.opensuse.org/SDB:Login_as_root

(wonder if I get a +2 from ab ;))


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.25-0.1-default
up 8 days 18:00, 2 users, load average: 1.64, 0.67, 0.26
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

> How can I enable “Auto Login” for root user?

don’t do it! if you do it will be less secure than Windows, and will
be totally unusable quicker than you might imagine.


goldie

I agree with everyone else. Nothing really for me to add, so I am not really sure why I am posting this reply :\

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

“less secure than windows”

That’s not possible, I do not think… running as ‘root’ is as dumb as
running as ‘Administrator’, though in windows it’s the default and in
Linux you really have to try to do it. In windows people accept it as
normal, and in every other OS in the world you get a long thread by people
who know better telling you it’s a bad idea. In windows you basically
need to do it all the time (for example, to add a toolbar to a web
browser, sheesh) and in every other OS you rarely do. Still, Linux as
‘root’ is probably more secure than windows as Administrator, but both are
stupid.

Good luck.

goldie wrote:
>> How can I enable “Auto Login” for root user?
>
> don’t do it! if you do it will be less secure than Windows, and will
> be totally unusable quicker than you might imagine.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJKhEXOAAoJEF+XTK08PnB5VqcP/097i38CrmsLEynNbz1iepsP
IgSfsp5ofCsHA0349H6coI6bSea++VKij+eazKSMFBwczLUXH6so/zUMAHj8Fj49
3W71H492vAEAHYO7UwlVnWJHdKSXUkEZAKKP1IxddFBYyDe4K8318AyCIes69gj0
SUHo82FWHg+KbbhyQZu1qUYOWPdct/HsmTLIf88Oo8dWkzeT5CMlPxIGpyOxUbhP
xsnQkH0FG7YJfXXEnfNIKcGssGjV3RYdr4qCN4ZuFa92yLxxC14hhoqRAELXmAEG
SpBJ5bx9yh272RH6AiZpbm3Rxjr9rg2m44b9YZmwr1iNViLZ4RlyZbx5RT0OS1fa
FResgKmUenY7P/5cJ3M9wcj0a1xe0+qFAHgn6nVhR0C68+lx1gtBCS7pvrz/XJiN
Heu5wIuZkQteD0Tc+uIekpe3GoSv6lv8tOpnaLAQDUyq7zIczlZYHtLLk7mAKBP5
9mDNNXFf3AOmECTFT3VvndnmFEsLI0IYCv5X4Q/5ul8XljdBL6hP3mmaecE7RWGB
YWzM8VIm/bjPGqoCvyBRkki4sgeJhjHI7KUaQgdjmc50R8xqD6yhiNwlXFrngxO+
XemDNv3DQSs3/YACAHDyPqs+lXRWLJKPWqNNBH1LG7814aOQFAWMRTpO0zKDXz+e
hy4Tfv/6PKQDjPIp/NRF
=DY3I
-----END PGP SIGNATURE-----

What? Are you serious? Do you have brains?.. Use them and think about what you want to do! Why not just constantly keep open your front door and invite the burglars so they can mess up your house? Would you like that?

your point being?


goldie

If you want to do things the MS way why not just stick to MS? If you don’t want to stick with MS get used to the Linux way.

This thread made me laught… just to let you know… So many people saying NOOOOOO!!! rotfl!

OK!! I don want to do that! It just was a question that somebody was asked and didnt know the answer! I get the answer very well! lol!

SOLUTION for SLES 10:

add this line:

 su - -c "/bin/bash startx" root

to /etc/rc.d/after.local

Then change your default run level to 3 in /etc/inittab

done.

WE STRONGLY SUGGEST, THAT NOBODY EVER FOLLOWS THESE INSTRUCTIONS. TO THOSE WHO ALREADY DID SO, PLEASE REMOVE THE CHANGES

kontroncrms wrote:
>
> done

you missed ONE step:

kiss your security, reliability, dependability goodbye!


palladium

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Are you crazy???, why do you need it?


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkuNWI0ACgkQJQ+0ABWtaVknRQCfcSkk1jB1KMS4TwAxKzDcV6W7
+04AmgIDtj6IbU7J0H4mKkvYOM3olS7L
=dggF
-----END PGP SIGNATURE-----

sina saeedi82 <sina_saeedi82@no-mx.forums.opensuse.org> writes:

> How can I enable “Auto Login” for root user?
> In " Yast → Security And Users → User And Group Management →
> Expert options → Login Settings " is just my own user and there’s no
> root user to choose.
> please help :\

You REALLY don’t want to do that!

Don’t even login as root.


Regards,
Barry Nichols

I doubt Linux will ever become the safest OS on earth. I see at least two reasons:

  • more users, more threads like that one
  • other Unix with cleaner design focusing on security (NetBSD and OpenBSD).

Going back to the original question, exceptionally in this particular case, the answer won’t be neither how? nor why? but simply NO.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

or best yet, sudo

Good luck.

On 08/13/2009 07:56 AM, Knurpht wrote:
>
> I’m going a bit further: do you know what you’re asking?
>
> What you are trying is against all measures taken to make linux the
> safest OS on earth. Virusmakers would be happy if this would be the new
> trend.
> It means you are opening up your system in a terrible way.
>
> So, don’t. Stick to ‘su’, or even better ‘su -c’ for every single
> command asking for root privileges.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJLjf8/AAoJEF+XTK08PnB5VtgP/0Gy1i2dx4a+qPnXQ9c1ZY78
NNH7S8v5v1aFHo7lXhcHZzX80sZmq+Edj+mdeQbQ+1VfC7IHV6zFa+iYk8H9QEOo
IzTRSRtI4DcVlDf1tx8eiWmr0m5rmDS1UgdQkLfSNib3YHmZ/+NxRQXZIytbdZQr
ia8bftMASpiYsF4qa0tDKR8b68C/0p0uIUzq5SqNSDLfVYDmlM46M/s8zMJ81joX
u7kcTGw1deJIl7pWheRIyz+XMJh3hgkzyMKeSSWIPekA9oQhjqXQnVEXSgxn982r
6l7tsDeX5lG92v+lrCAfMnJ+sUymsASr6QI6P5QyBZ0xqQOsX36AE79G2T4naWD6
OkV0GnwLGZrZAysXYxyApXA36LeYZGIfaNOWr3gOY01mJt5wSbGF9iXRsFoU7wky
pG1RpNCFkyT0149vBrMmir9wHqYC7DO3WbFBn9ZAvQoGb7IRM0dGuy01H5dLkquo
4TnA6Hu0IZVDyfWku4IC3ukqkrBWD5s1j7uU8UyA/7yaUVPDpQpvohcOBQmICk+G
tQEoMXmqMVDPUyyXadNF671w8qHDYXVzC0GWID4G87GocX5N9nhUWKHL+gtbgBvL
jzsxy/thp+vVb8fjLI86Psx2ex9xLF/hI0VtsZEwSQTOZ5j5SV4IEZ2xWk+MHEjF
pK4K0eewM7HcDlXMpaSi
=AuYO
-----END PGP SIGNATURE-----

Just an experiment.
Lets say i do make root login as default. How much am i compromising my system? If i need to do trouble shooting etc, i still have to use root account, right?
So if the issue here is that the root account will be open and active during my desktop session, is it completely exposed to anyone on the internet etc?