Slackware :: Mount - Shutdown As Non Root User
Jun 5, 2010
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.
View 7 Replies
ADVERTISEMENT
Apr 1, 2010
It seems little weird that I can shutdown my system (as non root user) from GUI but now from command line. I understand this may have to do with old unix tradition. I am now writing a script to shutdown systems after a certain period of inactivity. How do i shutdown system as non root users and without using sudo? Also the shutdown option in GUI must be calling a command line internally. Which is that option? Can I use that to shutdown system as non root user?
View 1 Replies
View Related
Jun 29, 2011
on my netbook I've tried to make possible for my user to shutdown without needing a password. battery could run low when I'm not in front of it. Editing sudoers has allowed my user to shutdown the system, but Gnome still prompts me for the root password whenever root is logged in too. That's usually the case, because to avoid entering the root password multiple times whenever I need elevated privileges and not wanting to cache the root password, I keep a Root Terminal always open.
View 6 Replies
View Related
Jun 13, 2010
I was trying to make shutdown without root user using visudoI tried the following still it did not work for mehawk ALL=NOPASSWD:/sbin/shutdown -h now
View 6 Replies
View Related
May 28, 2011
What I'm trying to do is to grant my regular user to locally mount partitions and shutdown the machine without a password. Here is what I've done to /etc/sudoers:
Code:
Host_Alias LOCAL = localhost
Cmnd_Alias SHUTDOWN = /sbin/shutdown
Cmnd_Alias MOUNT = /bin/mount, /bin/umount
<my_username> LOCAL=(root) NOPASSWD: SHUTDOWN, MOUNT
%wheel ALL=(ALL) ALL
My user is a member of wheel group and I want to type the password for each sudo command except for shutdown and mount. However I am asked for a password whenever I execute "sudo mount [...]" or "sudo shutdown [...]".
View 4 Replies
View Related
Apr 15, 2011
got a client which rebooted one of their slackware servers and would not come up.Server is stuck at Kernel panic - not syncing: VFS: unable to mount root FS.I have booted into a live cd and mounted hdd1 but have not been able to get any further.
View 11 Replies
View Related
Oct 6, 2010
I am using fedora 12.I have two internal drives. Both are ntfs. Whenever i click on them it prompts to enter root password. But i want to mount them as normal user without entering any root password. How can i disable it so that i am not asked to enter root password everytime i mount the drives.
View 2 Replies
View Related
Feb 11, 2010
Although I can perfectly mount any usb device (stick or disc) as being root, as a user I am not allowed to perform any such action! I have modified the corresponding fstab entry to look like:
Code: usbfs /proc/bus/usb usbfs noauto,user 0 0 and I have also made sure that the user is a member of the disk group, but without any luck. My system is OpenSuSE 11.2 (with KDE 4.4, but the problem is the same regardless I am attempting to mount the usb device via the GUI or through the text (c/k)onsole).
View 9 Replies
View Related
Aug 31, 2010
I had to change the mounting properties of my disk partitions so i tinkered with the fstab file.. Now I am unable to mount the cdrom as a normal user..To mount the cdrom I had to login as root in terminal and use the following command:
Code:
mount /mnt/cdrom
The cdrom entry in my fstab file reads:
[code]...
View 2 Replies
View Related
May 1, 2010
I have Kubuntu 10.04 Lucid installed on my new laptop and I'm trying to get my backup script up and running again. I had a script that would connect using smbmount with my normal user account and then mirror my home folder to the external network attached hard drive with rsync. It seems that rsync needs to be run as user account, not root, to work properly.Some of the setup info for getting this running in Kubuntu Karmic was from this article:
However, smbmnt does not exist in *buntu 10.04. Is there any other way to connect NAS drives as non-root user that is relatively secure? I spent all day yesterday struggling with this and still haven't found a solution.
View 2 Replies
View Related
Jun 28, 2011
I just want to be able to access and modify the files on my usb drive as a normal user. The mount command works perfectly as root but then the files that I end up copying to my home folder can only be modified as root. I only use a window manager and use just bash for file management. I just want to be able to it through the command line.
(using 13.37)
View 14 Replies
View Related
Apr 19, 2011
I have been dual booting "Windoz" (hda1) and slackware 11 (RTAI - hda 5) old system. The problem happen after I installed slackware 13(sda8) on the same hard drive. I was able to mount my old slack11 (now (sda5)) to slack13 to read. So I wanted to boot to slack11.
MY Lilo on slack 13:
Now when I boot to Slackware11 I get:
VFS:
How can I boot a old "hda" image on "sda" system. With a floppy I can go back to Slackware11.
View 7 Replies
View Related
May 18, 2011
I recently ran into a problem with my install. I accidentally messed with the bottom panel in my KDE on my root account. This caused my desktop to freeze up. Every time I attempt to restart into my root, it loads, but is completely frozen. Is there some way I can overwrite my KDE config files without starting X server or from a standard user account?
View 6 Replies
View Related
Nov 7, 2009
After a few hours work I have managed to set up pptd so that my daughter can log into her account at Imperial College. My problem now is that I need to have a script that she can run if she wants to log in. She will have to invoke a couple of root commands and I do not want to give her the root password What she needs to do to set up networking is:
Quote:
pppd call imperial dump debug logfd 2 nodetach require-mppe
/sbin/ip route add default dev ppp0
How can I enable things so that she can run this script as user?
View 12 Replies
View Related
May 27, 2010
Just installed Slack-13.1 and it looks really good. At least as root. Problem is, I create a normal user, and when I log in as the user, startx just gives me a black screen.
View 2 Replies
View Related
Jan 2, 2011
Just recently discovered that for a non-root user the touchpad on my Acer laptop ( Aspire 5720z fyi ) isn't working in X ( KDE or XFCE ). It does work in in tty (at login) and for root it works in both environments.
I'm running 13.1 x64 on it, with the normal security patches via slackpkg. Didn't notice before since I normally use a mouse (and thus I do like the touchpad being disabled so I don't 'tap' away the cursur while typing).
With the recent holidays (with family visits and all) I took the laptop on my lap,.and voila: no trackpad movement.. I did some searching allready, but this problem seems to be solved since a while, and isn't supposed to be in 13.1
FROM RELEASE NOTES Piter Punk for udev and slackpkg work, updating the shadow password system, writing the initial patch for polkit to use a shadow authentication backend so we could consider using KDE 4.4.3, and making tap-to-click work with Synaptics touchpads out-of-the-box,)
[URL]
/etc/modprobe.d/psmouse(.conf) allready has this commented line:
#options psmouse proto=imps
View 1 Replies
View Related
Mar 23, 2009
My wife's XP has crashed and I need to save files. I've discovered the command to mount the hard drive - unfortunately I need to force the mount, but I can't do it because I have to be in root. I can see the root user in the user list, but when I try to switch I can't access it. How I can do it to back up my wife's files. I have Kubuntu 8 and KDE 4.1.
View 2 Replies
View Related
Sep 9, 2010
My cli php is missing modules as regular user but not as root. In particular, mysql is missing... which is how I came across this issue. I'm running Slack 12.2 w/ php 5.2.14, standard Slack packages. As a normal unprivileged user:
-> whoami ; php -v ; php -m |wc -l ; php -m |grep mysql
jerry
PHP 5.2.14 (cli) (built: Aug 25 2010 15:17:31)
Copyright (c) 1997-2010 The PHP Group
[code]....
I've tried reinstalling php and it made no difference. php.ini is not to blame. I've Google'd this to death, no luck.
View 7 Replies
View Related
Mar 26, 2011
When I run set | less as a user, my root password is displayed in the last line of rules.
Code:
_=su
*******<-----Root Password.
[code]...
View 7 Replies
View Related
Jun 26, 2010
I have had slack 12 on this computer for quite a while with never a problem. Slack 13.1 was installed a few weeks ago without a problem, it seems to run forever as long as it is root. When I go to user it will crash 2 or 3 times a day. When it crashes it is a total lockup that only the off/on switch will reset it. There is no certain time or thing that causes it, it will just lockup while surfing using the command line switching or opening a new le. Any suggestions will be appreciated! I have googled and searched with no info found.I do have 13.1 on another computer that works fine, it has an nvidea video card in it and it is 64 bit.
View 12 Replies
View Related
Apr 28, 2010
I am using Slackware 13.0 and i have managed to work with my USB pen-drive as root but i cannot do it as a normal user.
View 14 Replies
View Related
Oct 21, 2010
I haven't used my VB for a few weeks however all of a sudden it refuses to work for my normal non-root user. It's almost as if it can't find libraries in the /opt/VirtualBox directory. Initially it refused to start completely so I linked the required libs into /usr/lib64 ( yip real hack. Then it started but a vm would not start, and comes up with an error about a missing lib again which is definitely there. My non-root user is in the vb group and nothing besides system updates has changed. vb 3.2.10 slack64-current.
View 14 Replies
View Related
Apr 22, 2010
I have Slackware 12.2 installed on my computer, as well as a Windows Xp. I have a hard drive named '/fat-d', which is formatted to be 'fat' and is normally used under XP. This drive can also be accessed under Slackware, both as root and the normal user.I can not write to the directory '/fat-d' when I am not root, it is normal since 'ls -l' shows that its owner is root and other users have no permission to write. The problem is that, when I tried (as root) to change the owner to the normal user:# chown [normal_user_name] /fat-dI got an error: chown: changing ownership of '/fat-d/':Operation not permittedBut how can the root have no permission to change the owner?
View 6 Replies
View Related
Jun 5, 2010
im a rookie at configuring linux and i have problem booting slackware 13.1 just installed. i get a message similar to this Kernel panic - not syncing: VFS: Unable to mount root fs on unknown- block(8,4) i got this one from another user who has a similar problem, they say i should fix lilo.conf and it actually was pointing to a wrong partition so i fixed it. i also fixed /etc/fstab to make it point to the right partition /dev/sda3. but after fixing the files, it still wants to load something in /dev/sda4, i dont know why so what should i do next, please explain with commands and not just words. edit this is my lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda3
[Code]...
View 12 Replies
View Related
Jul 14, 2010
error message
Quote:
"failed to run * as user root, the gksu-run-helper program is not found or is not executable"
Tried googling and checking threads at LQ didnt find a solution or another instance running slackware64 current.. everything built fine, tried and everythings executable...I also have Alien's multilib installed, with only firefox and flashplugin as 32bit, everything else 64bit. I can't open any apps as root by normal user
View 5 Replies
View Related
Aug 22, 2010
I always have a problem in simple user mode when I insert a USB key. Can't mount, can't open with file manager. I'm obliged to open a simultaneous root session, to do what I want to manage the usb key.
In my user manager, I don't know wich group I have to add to this simple user (it's me) so I am allowed to manage the usb key.
View 6 Replies
View Related
Oct 28, 2009
Is It possible to change a process running in root-user to non-root-user by setting suid / uid / euid / gid etc... I so please instruct how, when and wat to set in order to change a process running in root-user to non-root user
View 4 Replies
View Related
Jun 25, 2010
I am working from RHCE Study Guide 5th Edition by Michael Jang. Lab 1 for Chapter 6 says that I should be able to mount a remote NFS share as an ordinary user under their home directory.
However, mount requires root unless it's defined in /etc/fstab with the appropriate options. So would the following never work for a user?
Code:
I could define it in /etc/fstab, but then I would have to specify a "general" mount point for the mount, like /mnt/nfs and not specific to a user like the lab suggests above.
Is the book wrong on this? Even the answer for the lab makes no mention of using fstab to mount as non-root user and the above command is correct according to the solution.
View 2 Replies
View Related
Jun 11, 2011
I have done 3 clean installs for this problem and it remains, i don't want to do it from the terminal..(Buttons exists but they won't work...)
View 3 Replies
View Related
Apr 27, 2011
I used the ntfs-config utility to mount my windows drives automatically at startup. While doing so, I had my USB-HDD still attached, and after making changes and rebooting, it did something unknown I didn't expect and I cannot mount my USB-HDD again, and it gives me the following error message:
Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sdb1 on /media/MyUSBDrive
I did manage to open it somehow, but then all the data was erased apart from ~3 GiB [edit: it's got some kind of extra drive built-in which is mounted as a CD-ROM drive, and when I open that one first all the files are missing in the actual drive, otherwise I get the message above]. I don't know what information I should include here, but my fstab looks like this:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
[code]....
This line in terminal:
sudo mount -t ntfs-3g /dev/sdb1 /media/sdb1
Gives:
fuse: failed to access mountpoint /media/sdb1: No such file or directory
What should I do to recover my files and fix the mount error? [edit: at the very least, how do I backup my files onto my internal HDD so I can format it and recover it in this manner]
View 6 Replies
View Related