LinuxQuestions.org
Visit Jeremy's Blog.
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 03-09-2007, 01:40 PM   #1
lumix
Member
 
Registered: Mar 2007
Distribution: Hardy (Gnome on Ubuntu 8.04) on Compaq N600c laptop
Posts: 323

Rep: Reputation: 30
A question of general philosophy/strategy


Though I naturally cannot think of an example at the moment, it sometimes seems that sudo is not the best tool for a job. It can also be cumbersome to have to do everything from a command line, especially for newbs.

Now, I know full well even a one-user workstation setup provides much incentive to not give oneself root privileges. But since I cannot install applications and make desired system changes like group membership (using Kuser, or whatever...), what do most of you sage users do to empower your every-day user to add Opera, realplayer, Enemy Territory, or just make changes to your system?

As always, thank you.
 
Old 03-09-2007, 01:54 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
If your on a company network, you should never allow them to install and run such things, never, ever, ever.

If its a home system, just let them install things into their own home directory. Since every program you listed is binary only, they all come with installers that let you select where to install, just tell them to stash it in their own home directory and use the file manager to run it. It will remind them of being on Windows, you know, when they get to go on a hunt for the program they want through "C:\\Program Files", im sure they will thank you.
 
Old 03-09-2007, 03:37 PM   #3
lumix
Member
 
Registered: Mar 2007
Distribution: Hardy (Gnome on Ubuntu 8.04) on Compaq N600c laptop
Posts: 323

Original Poster
Rep: Reputation: 30
expedience

This knoppix install, on my laptop, is primarily for myself only. The only reason I chose a multiuser install is so that I could become familiar with the multiuser environment (I'm a net-engineer and sometimes-admin of various sorts...so it's about time I did).

Here's some examples:

1) Enemy Territory--I not much of a game player but wanted to feel out the stability of linux in a highly-graphical, processing intensive environment. I couldn't install this without going to console and su'ing to root. There have been several examples of this. Aside from having to frequently su, many applications that are X-based don't launch once I do (again, can't remember an example, but I think kwrite is one).

2)Xorg.conf--I'm in the process of getting the system right, so I'm frequently in and out of here. I'd rather not have to su each time.

3)network stuff--here's where I really need more power (but still as just plain old Me). It would be a HECK of alot easier and more expedient for me if I could Up and Down interfaces, change ssid's, etc. from my own user.

I know this is the stuff of great flame wars, but surely there must be a "power-user" equivalent. I've done the no-no of adding myself to root and adm groups, and sudoers, but because ownership of many of the above is root, change and execute are often not options.

Thanks.
 
Old 03-09-2007, 05:03 PM   #4
truthfatal
Member
 
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Raspbian, Debian, Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
I don't really like 'sudo'.

I use 'su' or 'su -' (though 'su -' doesn't maintain access to GUI apps without some little tweaks ['export DISPLAY=:?.?' and 'xauth merge ~user/.Xauthority']).

I suppose I could also make a launcher that uses gksu(?) or kdesu(?) to ask for a password before launching a root-privileged application [that might work for editing your xorg.conf ]... but I'm comfortable enough on the CLI to not need to,
 
Old 03-09-2007, 08:33 PM   #5
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
For me, sudo is useful for me and another systems admin. We are then both able to administrate the computer without having to share an account and password. At home, I just log in as root.
 
Old 03-09-2007, 10:32 PM   #6
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
OK..... If your really so into needed those unnecessary powers, you might as well just run as root, it'll be a lot easier. Not sure, but some of those powers you want (the network stuff) might require special root abilities, and can never be changed with permissions. There are ways around this, but it requires a complex in-kernel system called RSBAC that really isn't worth setting up if you cant stand a simple "sudu" here and there.
 
Old 03-09-2007, 11:08 PM   #7
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
Sudo is quite powerful, and if you know how to set it up you can allow users to do whatever you want them to be able to do without actually giving them root privileges. There's plenty of tutorials floating around if you're curious.
 
Old 03-09-2007, 11:24 PM   #8
catwalker63
LQ Newbie
 
Registered: Jan 2007
Location: Kirkland, WA, USA
Distribution: SuSE, Fedora
Posts: 9

Rep: Reputation: 0
I'm still relatively new to the game but I haven't run into any issues I couldn't resolve with sudo or the occasional su. The power of linux is in the command line so there's no use complaining about it. Most linux users will just cock their head and look at you like your an interesting specimen with no clueif you do.

Coming into linux with a sys admin background it makes me shudder to hear someone wanting to run with superuser prvileges all the time. Coming from the Windows world I find it refreshing to use an OS that makes it so easy to run as a user and still do admin tasks with superuser privileges only when I need to. I recommend figuring out how to do what you need to do with sudo, su and the shell, that way you harness the power of linux and protect yourself from the miriad of problems that come from running as superuser on your machine.
 
  


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
RHEL update strategy question tibbitts Linux - Enterprise 2 08-16-2005 06:38 AM
a general debian question (it's underlying philosophy) salparadise Debian 6 05-17-2005 12:59 AM
Strategy gaming fans: A question vharishankar General 44 03-30-2005 10:14 AM
General Strategy for switching Windows -> Linux network? mcle Linux - General 0 12-29-2004 11:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:22 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
Open Source Consulting | Domain Registration