LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-14-2003, 06:33 AM   #1
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 32
setting up for non-root users (tips/shortcuts)


I've been using Slackware 9 since it came out ... but always with the root account. I realise this is not secure particularly as I now have internet access setup .....

So, I'm looking for shortcuts and tips as to how I go about setting up my box for other users. I've setup two users with access to the necessary drives and what have you and switched to graphical login. One of the users I want to have the 'styling' of the root account (as I've spent time setting the look and feel how I want it). How can I do this?

I realise that I'll need to use visudo to set up some sudo-ers ... I've tried previous suggestions of exporting nano as editor but this doesn't seem to work (just puts me into a vi environment ... the only command for which I know (or want to!) is :q ). How can I sort this out?

What scripts don't get executed when I log in as a normal user? For example: In root account I have firehol setting up my iptables (initiated in one of scripts in /etc/rc.d, I forget which). Will login as a simple user negate this setup of iptables?

Finally, I've installed alot of apps as #. Things like scribus and opera. How can I ensure that these can be accessed by normal users ... is it just a case of "chmod a+x /path/to/app" ? Will this then still use the same cache or scratch directories without further work?

I've made this quite a long question but one I think most users will come upon that start with Slack (or other linux) from Windoze.

Help much appreciated.
 
Old 11-14-2003, 06:35 AM   #2
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Original Poster
Rep: Reputation: 32
I should probably have mentioned I use KDE (but always with a console open ;0)>
 
Old 11-14-2003, 11:36 AM   #3
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
When the system boots, depending on the runlevel, (5 for graphical login), everything is started in /etc/rcx* up to the runlevel AND /etc/rc.d is also run. No matter what you login as, everything as configured is run. So the firewall, all services, etc are started as root. Virtually all apps will be executable by regular users, and /usr/bin will be in their default path. For apps such as Opera, they are likley added to the start menu, the regular user can just drag these to the desktop. I don't know how you configure the default look of root to other accounts though.

If you use dialup, you may have to chmod u+s /usr/sbin/kppp to be able to execute as non root because only root can dial up and start pppd. Otherwise, you should be good to go.

For ease of maintenance, you probably want to grab Extras-->System Tools-->File Manager Super User Mode to the desktop. When you select it, it prompts for root's password and you can then navigate/change config files easier.

RO
 
  


Reply



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
Tips on setting up a wireless printserver rose_bud4201 Linux - Hardware 2 11-28-2005 04:55 PM
tips for checking up on users Judda Linux - Newbie 1 08-26-2005 01:43 PM
Quickie Tips, Hints, Shortcuts, etc dsledge Linux - Networking 0 04-02-2003 09:52 PM
any 'amanda' users out there?...need tips tarballed Linux - General 1 01-28-2003 06:55 PM
tips on setting up DSL over PPoE AngrySun4u Linux - Networking 2 08-15-2001 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:43 AM.

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