Advertisement

Creating A Linux Super User

Started by November 16, 2004 12:21 PM
15 comments, last by ontheheap 20 years, 1 month ago
How Do I Create A Linux Super User? I Am Using SuSE Linux 9.1, And I Am The Root Account. Where Do I Go To Set Up A Super User Account For Myself?
I don't know if there is anything specific for Suse, but you can look into sudo. I believe fakeroot is also similar but I don't know enough about it to comment on it.
-------------------------GBGames' Blog: An Indie Game Developer's Somewhat Interesting ThoughtsStaff Reviewer for Game Tunnel
Advertisement
I'm new to Linux, explain in English please...
I Love Your Use Of Capital Letters, It's As If Everything Is A Proper Noun. Still Better Than Having Capslock Stuck.

Seriously though, your best bet is to use something like sudo. You can configure it so that you can run any program as root without a password, and your normal programs will still run as your unprivileged user, which reduces the probability of accidental damage.

Mark

How do i use this sudo?
The command is sudo.

Let's say that you want to check your IP using ifconfig. On my system it is not accessible by regular users.

So I have to type:

$ sudo ifconfig

It then asks me for MY password (not root's) and will then let me run that command with superuser privileges. After the command is done, I can type in commands like a regular user again.

sudo requires you to edit the sudoers file. You can probably learn all about that using the man pages provided.

EDIT: to clarify, you edit the sudoers file to say which users will have what access. So you can't really make use of it until you set it up first. That's what I meant by "sudo requires you to edit the sudoers file".
-------------------------GBGames' Blog: An Indie Game Developer's Somewhat Interesting ThoughtsStaff Reviewer for Game Tunnel
Advertisement
cant i just make a super user?
Your other option is to create a user and put it in the root group, or create a group with root privileges and put the user in that group.

I prefer sudo, which allows you to do simple administrative tasks requiring super user status very quickly without worrying about someone else using that account's regular permissions to do anything bad.

Otherwise, that's what root is for. Is there a reason why you specifically need a super user account that doesn't get solved by those solutions above?
-------------------------GBGames' Blog: An Indie Game Developer's Somewhat Interesting ThoughtsStaff Reviewer for Game Tunnel
You have a super user. The super user is called "root".

What are you trying to accomplish?
when i click the camelon in SuSE, and try to open almost any type of executable program, it wont do anything, with the exception of a few programs. I can run all of these programs with my other account, but my other account will not run downloaded software. It says it cannot run because of a security reason...

This topic is closed to new replies.

Advertisement