I've got a problem in doing sudo working for mounting things (e.g. usb pen or optic discs). Details:The OS: Slackware 13.0The response to sudo -l command:
Code:
User user1 may run the following commands on this host:
root) /sbin/shutdown -h now, /sbin/shutdown -r now
I mount my NFS shares with fstab entries likexxxx.xxxx.xx:/srv/vdr /media/vdr_video nfs noauto,user,bg,soft,intr,retry=5 0 0 With openSUSE 11.2 works this fine. With openSUSE 11.4 installation (no upgrade) only NFS mount works fine. The umount command works only with root.
I hope I haven't missed this in another forum but was tough to search for.While administering my new centos 5.2 x86 server through SSH I am successfully able to issue
I installed two programs recently, Vuze and JDownloader. Vuze seems to run perfectly fine and write to the /media/x directory.However JDownloader keeps saying "cannot write to location /media/x" or something like that. Only when i run it as sudo will it write to that location. So currently thats what I have done. But how do i make it so it runs without sudo and still can write to /media/x also, why is it that vuze has write permissions but jdownloader doesnt?
Testing an upgrade Etch>Lenny 5.08, and one issue I've found is that "sudo konqueror" in a teminal no longer gives root priveleges, instead konqueror starts with limited rights. It also seems that using a .desktop shortcut, an attempt to run konqueror under any credentials other than the logged-on user fails.
Yet, 'sudo kwrite' works. Anyone met this before, or know why?
i am relatively new to ubuntu. Just recenty i have not been able to access certain files(for example the history and bookmarks in the firefox folder), download files individually from the internet(music,fonts,etc), recieving an error message
i have sudo priveleges and can install via update manager. i read somewhere that compizfusion might affect access permissions and i do use compiz and emerald at the same time.
I want log in locally to my Lucid (10.04) workstation and have my code saved over the network on my samba account At work, all developers have samba user ids and when we were running Red Hat, we went thru the following procedure to get setup.
* open a shell session to NFS server and execute the "id" command to get my samba user information.
Code:
$> ssh l alberto our_nfs_server $> id uid=7090(alberto) gid=100(users) groups=100(users)
* Create locally a login on my Linux workstation with the same login and uid.
Code:
$>sudo useradd u 7090 g 100 d /home/alberto s /bin/bash alberto
[code].....
Code:
mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) mount.nfs: access denied by server while mounting our_nfs_server:/d0/homedirs/alberto It does not work at all!!?? However, the same procedure on a RedHat workstation works fine. No errors.
I've added my public key to the remote machine's authorized_keys file, and I can ssh over without password. But when I try to mount the remote share using sshfs it -always- asks for my user's password. I have set sshd_config|PasswordAuthentication no ... and when I mount the share as root it says, "read: Connection reset by peer". My mount is being done as user, so it shouldn't be a root authentication problem: sshfs#bill@droog://media/droogfuseuser,noauto,gid=6,umask=007,cache=no,ServerAliveInterval=15,reconnect,allow_other,comment=sshfs 0 0 I can't mount as user because /dev/fuse is not suid, and I'd rather not set it such.
Processor: amd phenom II 965 BE Motherboard: M4N78 PRO (Asus) newest bios Memory: Corsair 2gb DDR2 800mhz X2 (4GB) Video Card: Radeon 5750 1GB Power: 620W Corsair. HD: 320GB
I use the TV + HDMI cable. Versions tested 32BITS/64BITS (stay with x64) has no disk error. already downloaded several times. MD5 is correct well ... I'll start here with my concerns ... version 9.04 onwards does not work gives blackscreen. I think "forgotten" by the generic drivers for ATI or something that influences the video. it does not show. 9.10,10.04,10.10 none of those versions worked ... on other computers functioned normally. I found researching how to dribble and go to live. and thus unable to install. but does not work after the pc restarts. Linux does not. shows nothing ... goes to black screen with the (- FLASHING) but nothing else happens.
The latest release of VirtualBox (3.1.6) corrects most of the problems that I had with Slackware and KDE. If you have been avoiding VirtualBox or KDE because of those issues you might want to take another look.The only problem that I'm having now is that I have to click somewhere on the desktop to get a proper display when switching VirtualBox into "seamless" mode. The rest of the window display issues appear to be fixed and full screen mode also works correctly.
I got hold of the 3 cds needed to install full 32 bit Slackware 13.37 It installed perfectly and all is configured and running very smoothly. I have 4gb of RAM in my laptop so compiled the 2.6.38.4 kernel with PAE support and slackware sees 4gb of RAM. It will really be mission for me to get hold of the 64bit ISO as I do not have have uncapped bandwith (3g - UMTS).Will I really benefit by installing the 64bit version, and if so how?
I have an mdadm/lvm2 volume with 4 HDs that I created in Ubuntu 10.04. I just upgraded the computer to Ubuntu 10.10.
I redid the mdadm commands to get volume up and running, did mdadm --detail --scan > /etc/mdadm/mdadm.conf to get the configuration file.
But now, every time I reboot, it tells me that the volume is not ready. /proc/mdstat says that I always have one disk of the volume "inactive" as md_d127. I need to stop this volume and reassemble the whole thing to get it working.
This is what I get out of mdadm --detail --scan and put inside /etc/mdadm/mdadm.conf:
And this is my /proc/mdstat on boot:
I need to do mdadm -S /dev/md_d127, mdadm -S /dev/md127, mdadm -A --scan to get this volume working again.
This did not happen with Ubuntu 10.04. I'm really fearing the loss of my raid5 data now.
Client is running Oracle VM Server 2.2.1 (kernel 2.6.18-128.2.1.4.37.el5xen). Storage is a NetApp 3210 (NFS configured to use TCP).
Iptables on client has udp and tcp ports 111, 2049 and the NFS server ports opened. Info retrieved using: rpcinfo -p NetApp
When trying a manual mount ...
But when using the proto=tcp option, it works ...
Stopping iptables also works (I can manually mount the share without using proto=tcp).
Is the mounting process somehow trying to negotiate first using udp which the Netapp doesn't respond and hence it fails by timing out?
Can I configure iptables such that I don't have to use the proto=tcp option? Or is there another configuration file I can tweak so that I don't have to use the proto=tcp option?
I have a script which runs a few other scripts (in subfolders of the first script) in order to mount some unix/linux shares) Anyway, when I run the file from rc.local and try to pipe the output into a file the file is empty and the shares are not mounted. however when I run the file it mounts everything.... Also, the script doesn't work on my wireless clients...
I have a linux server running slackware 13.37. I am trying to mount a samba share with my other slackware machine, but I get a "mount error(13): Permission denied" when I run
sudo mount -t cifs //server/share /mnt But, if I run sudo mount -t cifs //192.168.1.100/share /mnt
I maintain some packages my synchronized with my remote server but I have a problem ... is very hard to understand, time it works, time not works. When not working the following happens:
I am planning to develop an application that will have a GUI. The first priority is stability and second is performance. Portability and eye candy is not important. To fit these primary requirements the app will be run under and optimized for Fluxbox WM.
What is the best GUI development kit such as Qt, GTK or FLTK that is best fit for such an app? I mean what is the most stable, reliable and fast GUI development library that works best with Fluxbox?
I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?
I have used ubuntu in the past but had a lot of hardware issues with it and unfortunately moved back to windows (( BUT i have tried Ubuntu again and all seems to work great except wifi My wifi connection is sort of working because when i run SUDO IWLIST SCAN it does pull up all available networks. But in the network manager icon on the panel i left click but i see no networks and can't connect to anything. I WOULD LOVE TO keep Ubuntu and use it permanently but I must get wifi working or else this won't be possible.
Just had to replace the hard drive on my wife's iPod Classic 6th Generation. Now I cannot mount the device. It works fine on Windows and Mac computers. I have tried formating it on both Windows and Mac, I've done restores through Itunes on both. Here is what I get in my /var/log/messages
Fresh Slack 13.0 64bit with default proftpd installation allows to log-in the anononymous user only. All the shell users (having valid shell in /etc/passwd) are rejected.
I succeeded with the 2.6.31.12-rt20 on the Slackware 64 13.0.Kernel config seems fine, i use PAM.I can launch jackd as user with the realtime flag, BUT...Using top and htop, i can see that /etc/security/limits.conf or /etc/security/limits.d/limits.conf or wherever i put this file, priorities and nice are not set.Of course i added this to this file :
I installed freenx-0.7.3-i486-1alien.tgz on the server (with Slack 12.1), all according to instructions. I installed the no machine nxclient 3.4.0-7 on the client (with Slack 12.2). I ran setup and configured. I used the default no-machine keys, not custom ones. Since authentication failed at the beginning, I enabled DBauthentication, and added my user and password, which seemed to allow authentication to occur.
Here is my node.conf: # node.conf # # This file is provided by FreeNX. It should be placed either into # /etc/nxserver/node.conf (FreeNX style) or /usr/NX/etc/node.conf # (NoMachine NX style).....