LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-05-2010, 10:29 PM   #1
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Rep: Reputation: 27
mount, shutdown as non-root user


What if I want to install Slackware for my parents so then I no longer have to get rid of virus and malware for them. Is there way so they never have to log on as root? Any way to access CD's and to shutdown computer? I only know how to do those things as root.
 
Old 06-05-2010, 10:53 PM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
yes add them to the power group and set the machine to operate in runlevel 4 (edit /etc/inittab).

Both KDE and XFCE have the ability to user auto-mount external devices and power the machine off.
 
Old 06-05-2010, 11:11 PM   #3
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
I don't know what you are talking about but I will figure it out! Thanks!
 
Old 06-06-2010, 02:59 AM   #4
Cheesesteak
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 102

Rep: Reputation: 24
Look through here.
 
1 members found this post helpful.
Old 06-06-2010, 03:28 AM   #5
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
oops

Last edited by darksaurian; 06-06-2010 at 10:00 PM.
 
0 members found this post helpful.
Old 06-06-2010, 10:00 PM   #6
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
I figure out how to boot to runlevel 4, that pretty easy. Then I add joeuser to group "power" with
usuermod -g power joeuser

But still no automount. I have to learn about autofs now?
 
Old 06-06-2010, 10:53 PM   #7
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
They'll need to belong to the plugdev group too.

Do this then have the user log out and back in.

Normally you'd use gpasswd to add a user to one group.
Code:
gpasswd -a joeuser plugdev
Usermod can be used like this.

Code:
usermod -g users -G power,netdev,audio,video,plugdev,games jouser
 
1 members found this post helpful.
Old 06-06-2010, 11:25 PM   #8
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
Wow! This works great, thx! lol, my parents use Slackware now. I try to get my mom on openoffice. If not then maybe microsoft office on wine. Then teach them how to use dolphin and make icons. Then I never have to fix computer ever again.

"darksaurinan, my computer has the virus, you have to come over and fix it!" So annoying.

-edit:
Hey it also automount my usb hard drive! That ntfs, I always have to mount with ntfs-3g. I guess it automatically know that?

Last edited by darksaurian; 06-06-2010 at 11:26 PM.
 
  


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
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
shutdown with a not root user krusty_lab AIX 2 10-18-2005 06:07 PM
Can't shutdown as any user but root? JustinCoyan Slackware 4 06-10-2004 01:05 PM
allowing non-root users to mount drives and shutdown rlpt Slackware 3 09-21-2002 06:35 PM
how to allow a not root user to shutdown ethanchic Linux - General 9 06-18-2002 05:08 AM

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

All times are GMT -5. The time now is 06:20 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