hi I am using Linux fedora core 3. How can i autologin as a superuser (root). i am able to autologin as a non-root user but not as a root. i can hande the security issues if i can autologin as a root. so if u know the solution mail me to hvreddy11110@gmail.com
thanks in advance.
Regards M.Harshavardhan Reddy
On Sat, 2005-06-25 at 10:31 +0530, harshavardhanreddy mandeepala wrote:
hi I am using Linux fedora core 3. How can i autologin as a superuser (root). i am able to autologin as a non-root user but not as a root. i can hande the security issues if i can autologin as a root. so if u know the solution mail me to hvreddy11110@gmail.com
thanks in advance.
Regards M.Harshavardhan Reddy
Once you have logged in as a user you can you can also log in as root (or superuser) at the terminal prompt typing:
$> su
It will then prompt you for your root's password and you should get another prompt symbol to denote the high right in privileges. On my system, FC3,
#>
You can also log in as root when your computer boots by changing the log-in name to "root" and then entering your password.
Hope this helps.
Cheers, Tony Crouch
I would recommend su - (with a dash). Su alone, will give the current user roots rights and permissions, but with the users environment paths. The dash causes a new session to begin. Try an su, and see how many files will give command unknown errors, but su - will take care of that problem.
Jonathan
-----Original Message----- From: fedora-list-bounces@redhat.com [mailto:fedora-list-bounces@redhat.com] On Behalf Of Tony Crouch Sent: Saturday, June 25, 2005 12:05 AM To: harshavardhanreddy mandeepala; For users of Fedora Core releases Subject: Re: How to autologin as a superuser
On Sat, 2005-06-25 at 10:31 +0530, harshavardhanreddy mandeepala wrote:
hi I am using Linux fedora core 3. How can i autologin as a superuser (root). i am able to autologin as a non-root user but not as a root. i can hande the security issues if i can autologin as a root. so if u know the solution mail me to
hvreddy11110@gmail.com
thanks in advance.
Regards M.Harshavardhan Reddy
Once you have logged in as a user you can you can also log in as root (or superuser) at the terminal prompt typing:
$> su
It will then prompt you for your root's password and you should get another prompt symbol to denote the high right in privileges. On my system, FC3,
#>
You can also log in as root when your computer boots by changing the log-in name to "root" and then entering your password.
Hope this helps.
Cheers, Tony Crouch
On Saturday 25 June 2005 07:01, harshavardhanreddy mandeepala wrote:
hi I am using Linux fedora core 3. How can i autologin as a superuser (root).
Why do you want to do that? Are you looking for a system that is vulnerable? If so, you might get more kicks out of windows.
I urge you to use a normal account for everyday use of your system. This gives you a lot of protection against break in attacks, against programs that misbehave and it will prevent the end user to make changes to critical parts of the system. Doing it this way, gives YOU control over the computer.
Using your computer with the root account, puts EVERYONE in control of your computer (programs, virus, hackers,...)
A real root login is only required in very few cases. In general if you want to change a critical part, just do su -c 'critical command here' and the system will ask for the root password, execute the command and go back to the user.
Andy
On Sat, 2005-06-25 at 10:31 +0530, harshavardhanreddy mandeepala wrote:
hi I am using Linux fedora core 3. How can i autologin as a superuser (root). i am able to autologin as a non-root user but not as a root. i can hande the security issues if i can autologin as a root. so if u know the solution mail me to hvreddy11110@gmail.com
thanks in advance.
Regards M.Harshavardhan Reddy
Another option is to setup 'sudo' command to allow a particular user to do everything. Then you can use 'sudo xxx' to run 'xxx' as the superuser. It is a bit more secure than, login as root.
Regards Neil.
On 7/11/05, Neil Dugan fedora@butterflystitches.com.au wrote: ..
Another option is to setup 'sudo' command to allow a particular user to do everything. Then you can use 'sudo xxx' to run 'xxx' as the superuser. It is a bit more secure than, login as root.
..
I'm not clear on how sudo works. Rather than typing "su -" followed by root's password, can I set it up so that I just type "sudo" and then I *am* root until I exit? Or, must each and every command be of the form "sudo foo"? I prefer the former, but is it insecure? Can I have an icon in gnome to click to open the root terminal, perhaps open nautilus as root?
Thanks,
Thufir
On Mon, 2005-12-05 at 00:20 -0500, THUFIR HAWAT wrote:
I'm not clear on how sudo works. Rather than typing "su -" followed by root's password, can I set it up so that I just type "sudo" and then I *am* root until I exit?
Why do you want to make "sudo" work like "su -"? Just use "su -".
If you're hoping to avoid typing in any password, that's a very bad thing. All it would take is for some exploit to use sudo (alone, sans-password), and it could do anything that it wanted. Likewise for any other technique of granting root privileges without typing in the root password.
THUFIR HAWAT wrote:
I'm not clear on how sudo works. Rather than typing "su -" followed by root's password, can I set it up so that I just type "sudo" and then I *am* root until I exit?
Well, as other people have pointed out, there are many security issues. But there is a way to do exactly what you want:
1. Run 'visudo' as root
2. append the following below the "root ALL=(ALL) ALL" line: your_user_name ALL = NOPASSWD: /bin/su
3. Save and exit vi
Now, you can just type 'sudo su -' and you'll get a root shell. Of course, it's a good idea to do a 'man sudoers' first!
Thanks,
Thufir
Best, -M