LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-07-2010, 01:59 AM   #61
merlinblack
LQ Newbie
 
Registered: Dec 2007
Location: Sydney, Australia
Distribution: Ubuntu, Ubuntu Server, Linux From Scratch, Fedora, Mac OSX, and Windows sometimes.
Posts: 20

Rep: Reputation: 0

No one has mentioned gksu yet. If you really have to run a GUI app as root - gedit just for an example - in GNOME you can Alt-F2
Quote:
gksu gedit /etc/fstab
Of course "sudo gedit /etc/fstab" from a terminal works too.

An alternate to "sudo su" is "sudo -s"
 
Old 07-07-2010, 03:31 AM   #62
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Replying this thread I am using Absolute, a distro based on Slackware which I have been trying on two of my machines by installing it in sda52 of a MSdos disk and sdb128 of a gpt disk. The installation only included me as a root and no other user account. When I boot I can only log in as root straight into the GUI. That is what one distro has arranged for its users.

I have installed enough Linux to known a small number of distros from Slackware and Slax families are like that. There are many Other distros like Puppy that never bother with non-root users too.

How a Linux user wishes to work in a secure environment is entirely his/her choice. I will add a normal user account in distros that do not provide one at installation and refrain from logging as root to the GUI because I want security. It is just a simple application of running the command "useradd".

I am not one advocating working as root in GUI but I see little risk dabbling a root terminal every now and then to work with the system files and settings. People dead against Linux users working as root in GUI obviously have not seen a sufficient cross section of Linux distros.

Slackware is one of the oldest and can be configured to run fast and efficient. I consider its arrangement not restricting the root access a key feature. We have Ubuntu withdrawing the root account all together at installation as other extreme. So to me selecting which Linux to work with is a choice for me, as on a typical PC I would have 20 to 40 to choose from the booting menu.

All Linux are changing so we just get along and move with the trend.

Using a Graphic editor like gedit or kwrite in one of two years before was possible in a root terminal as against the pure editor vi, nano etc but newer versions of Linux are trying to stop that.

Last edited by saikee; 07-07-2010 at 03:35 AM.
 
Old 07-07-2010, 05:57 AM   #63
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,960

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Quote:
Originally Posted by saikee View Post
Replying this thread I am using Absolute, a distro based on Slackware...
Absolute Linux Getting Started Guide:

"Things to do RIGHT AWAY

* Set native Language
* Add user accounts
* Tweak your screen size
* Install Optional Multimedia Packages
* Change default Web Browser (if you don't want Firefox)
...
Making Users

Absolute starts up as root user. You have to create any new user accounts you need, and you need at least one -- as it is considered IMPERATIVE that you don't get into the habit of running as root user.


Slackware-HOWTO

"6.4 User Accounts

You should make a user account for yourself. Using "root" as your everyday account is dangerous, and is considered bad form (at the very least) since you can accidentally damage your system if you mistype a command. If you're logged in as a normal user, the effects of bad commands will be much more limited. Normally you'll only log in as root to perform system administration tasks, such as setting or changing the root password, installing, configuring, or removing system software, and creating or deleting user accounts."


Emphasis added (both quotes).
Quote:
Originally Posted by saikee View Post
People dead against Linux users working as root in GUI obviously have not seen a sufficient cross section of Linux distros.
So you've installed a lot of distros.

Have you ever read any of the documentation that accompanies them???


Last edited by rkelsen; 07-07-2010 at 06:01 AM.
 
Old 07-07-2010, 07:39 AM   #64
LaneLester
LQ Newbie
 
Registered: Feb 2010
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by lucmove View Post
I am getting censored, so I am out of this thread.
I'm not being censored, other than being told that my questions will not be welcome here in the future.

But I do think we've said just about all that can be said. The thread has certainly illustrated the attachment we each have for our own view of things.

Lane
 
Old 07-07-2010, 02:26 PM   #65
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by LaneLester View Post
I'm not being censored,
That's because you didn't resort to verbal abuse
and foul language.

Quote:
Originally Posted by LaneLester View Post
other than being told that my questions will not be welcome here in the future.
Ooooh ... I missed that part; where did that happen?


Quote:
Originally Posted by LaneLester View Post
But I do think we've said just about all that can be said. The thread has certainly illustrated the attachment we each have for our own view of things.

Lane
And the fact that many hold their comfort in higher
esteem than the greater good of internet safety.




Cheers,
Tink
 
Old 07-13-2010, 01:17 AM   #66
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 219Reputation: 219Reputation: 219
Quote:
Originally Posted by saikee View Post
I always use "sudo su" in Ubuntu family distros to work as root when I needed. Adding "sudo" in front of every command isn't for me when I need to do a big chunk of typing. The root privilege ceases when one close the terminal.
Yes, yes . . . I have often done this as well for fresh installs of Ubuntu.

As an interesting side note, the very fact that a user can gain a full-blown root console with only their own password with a "sudo su" is quite an indictment of the default Ubuntu install's sudoers file. Or, perhaps, it is less of an indictment and more of a case-in-point that this configuration is intended as a temporary stop-gap until a more proper one can be put in it's place.

On a secure system, 'su' should definitely not be a command executable by sudoers. (Neither should 'passwd root' . . . but hey.) A quick edit of the sudoers files fixes this, though, so I'm not saying anything bad about anyone's favorite distro here . . .

Quote:
Back in the day, (once I had become comfortable enough with Linux), I made Windows 98 eat itself. Now that was Fun - with a capital "F". Windows xp doesn't even give the Administrator this level of access. There are many files and directories in Windows xp which cannot be deleted, moved or renamed regardless of access levels. The same can't be said for Linux. With administrator access, you can delete whatever file you choose. Even device nodes.

I've noticed that Microsoft are taking the 'gently, gently' approach to boiling frogs. It is highly likely that future versions of Windows won't even have an administrator account.
This is an interesting quote. Not having been a Windows user for a long, long time, I hadn't thought about this for quite a while. I used to say, "with Windows, everybody's root all the time." That's really not correct, though . . . that was DOS/Win9x. With Windows NT (Including all of the myriad newer incarnations . . . it's all just NT), nobody's root, ever.

Your 'frog in the water' analogy may be more apt than we know; MS is pushing "cloud computing" solutions like yesterday's milk, and I can't imagine any kind of "Administrator" access that isn't just a glorified user. With Active Directory NT domains, this is already the case in many ways.

Quote:
Whoa! Do you actually believe in those words you said?!!! Because that's exactly what I'm saying! MY computer. I get to do whatever I want with it. I will gladly trash my system beyond any chance of recovery with one fell swoop of a dreadful, humankind-threatening root command if I damn well please! THAT is choice.
This thread is not just funny, but super-awesome-hilarious. I love it. Only at LQ could we see such passionate debate about . . . what were we talking about again?

Last edited by foodown; 07-13-2010 at 01:21 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding 'Administrator' as a user in Samba mlsrar Linux - Software 1 06-13-2009 08:20 PM
difficulty getting VNCserver to run at startup for multiple user and Gnome desktop solutionsville Linux - Software 3 04-20-2009 02:18 PM
simple php user administrator hua Linux - Server 2 06-09-2008 03:41 AM
Hi. My name is TheFourthDoctor and I'm (now) a Linux user/administrator. TheFourthDoctor LinuxQuestions.org Member Intro 2 06-11-2007 07:00 PM
How do I switch ROOT/ADMINISTRATOR to another user?? Balarabay1 Linux - Software 4 07-21-2006 04:54 AM


All times are GMT -5. The time now is 09:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration