Software :: "chgrp Ksh" Is Working On Ubuntu?
Aug 12, 2010I just installed ksh and I'm trying to assign it to a particular group, but I can't seem to be able to do it.
If I do:
chgrp privd /usr/bin/ksh
It doesn't change anything.[URL]..
I just installed ksh and I'm trying to assign it to a particular group, but I can't seem to be able to do it.
If I do:
chgrp privd /usr/bin/ksh
It doesn't change anything.[URL]..
I've just installed Ubuntu 10.10 AMD-64 and mounted several partitions into /mnt/ directory. Now I want to be able to perform operations on those partitions without limitations. I'm trying to change the owner and group but it doesn't work. I'm typing sudo chown username filename to perform the operations.
View 1 Replies View RelatedI need git user to run
chgrp -R www-data linode.git/
chmod -R 770 linode.git/
as root. Only these two commands and only for git user. How can I do that?
I'm using Linux in a large multi-user network. Let A be some group which I'm am member of, but which is not my primary group. According to chmod(2) I should be able to chgrp a file to group A. Trying to do so succeeds on a local as well as on a NFSv3 mount, but not on a NFSv4/Kerberos mount (EPERM). Are there any special considerations regarding chgrp when using NFSv4 mounts?
View 1 Replies View RelatedI was recently messing around learning chgrp commands, and set my (only) user account to a different group. Now whenever I try to sudo a command, I get 'john is not in the sudoers file. This incident will be reported' message.I *seem* to have a root account (one is listed in System->admin->users and groups), but I'm almost certain that the password for it would be one of 3 things, and it's none of them.
View 2 Replies View Relatedok so im working on homework and im not understanding what my teacher is wanting me to do and i dont have time to email him seeing as he might not read it until tomorrow. so ill copy and paste and if anyone can better explain it,
2) Use the umask command to change your file creation mask such that,by default for new files and directories you create, no permissions are taken away from the 'user' (owner), write permissions are taken away from the 'group' (group owner), and all permissions (read, write and execute) are taken away from 'other'. Take a screenshot of your terminal window showing the results of this step.
3) Use the touch command to create a new file called testfile. Use the ls command to display the contents of your current directory in long mode. Take a screenshot of your terminal window showing the results of this step. Ensure that the directory listing for testfile is completely visible in your screenshot.
4) Use the chown command to change the user associated with testfile (the owner) to cint201. Take a screenshot of your terminal window showing the results of this step.
5) Use the chgrp command to change the the group associated with testfile (the group owner) to users. Take a screenshot of your terminal window showing the results of this step.
6) Use the chmod command to change the permissions for testfile such that the 'user' (owner) permissions are set to read, write and execute, the 'group' (group owner) permission are set to read and execute, the 'other' permissions are set to grant neither read, write nor execute, and finally set the SUID bit for the file. Take a screenshot of your terminal window showing the results of this step.
7) Use the ls command to display the contents of your current directory in long mode. Take a screenshot of your terminal window showing the results of this step. Ensure that the directory listing for testfile is completely visible in your screenshot.
I'm trying to make a particular file accessible on my computer ( /dev/uinput ) without having to use sudo or su - I've set up a wiimote to act as a remote for my media player, and it requires access to that file. When I use chmod, chgrp or chown to change the file's settings, it enables access to the file - however, when I reboot my PC, the settings get reset, and I have to change the access rights when I first use it again. I've tried using the following commands to make the changes (substituting my username/groupname as user and group below), as root:
[Code]....
In Linux, how do i prevent users from executing chown, chgrp or chmod?
View 2 Replies View RelatedAs root, I use crontab to run mirrordir to backup directories. Everything gets copied over properly, but owner information isn't preserved and root is the owner of all the backed up files. I can deal with that, but crontab reports tons and tons of chown/chgrp errors for mirrordir every time I do back ups--which is every day--and the multiple emails to root of thousands of chown/chgrp errors is very annoying. The error is "Operation not permitted," but that doesn't make sense to me because the job runs as root (right?) and clearly the job is permitted to create the backup files, so why would it fail to chown and chgrp?
I've had the exact same setup on another server for years, and crontab has always run mirrordir without error. Any suggestions how to clear the errors on my new server?
When originally installing 11.04 I had problems getting my Ralink 5390 wireless card to work.
Today my computer froze completely and I had to turn it off via the power switch. When I turned it back on, wireless was no longer recognized! My iPod can connect to the network just fine, so it must be an Ubuntu problem. There are no problems with my ethernet connection either.
I researched this and found several threads about blocking and unblocking wireless devices using the rfkill command. Well, unfortunately for me the rfkill command doesn't work. When I type sudo rfkill list or sudo rfkill unblock all, nothing happens; it just returns me to my bash prompt. I even tried uninstalling and reinstalling rfkill...nothing.
I have been looking around the forums searching for similar problems, it seems not only me had this problem. About a month ago I did a regular update via Upd Manager. The next day - no wired connection.Still managable, since the local library has wireless. Now that won't work either.Just after I upgraded from Jaunty, I accidentally removed NetwMngr from the top right corner of the screen, but that should not have anything to do with how the program works, right? I now cannot reach NM, if I run it from the terminal, nothing happens visibly.
View 5 Replies View RelatedI installed it on a Dell Inspiron 531 with the GeForce 6150SE nForce 430 built in video card. From the recommend driver list I installed �NVIDIA accelerated graphics driver (version current) [Recommended
Well, turns out it should not have been recommended. I had restarted and all I got was a low res ubuntu logo and a boot right into a full screen terminal. Tried startx and got a no screens found, I look online for about an hour last night and decided to just reinstall, which takes a couple hours when installing all the packages.
I have done more research today and found to install the latest linux x64 driver from nVidias website, which I did, but it does not run. I followed some more instructions and it said to do a �sudo chmod +x <file>� which I did, and it starts to open and I get �You appear to be running an X server; please exit X before installing.�
I�m starting to get a little frustrated here, guess I�m just used to a lot of the ease of windows and assumed that something like installing a graphics card driver would be easy.
I have a Dell Latitude D530 Laptop (500 GB HDD). Installed Windows XP and then Ubuntu 10.10 to do dual boot. everything works fine in Windows XP.In Ubuntu 10.10 I had issues connecting to Internet(Through Wirelss), I was able to rectify this issue by dsiable ipv6 from firefox about:config and setting true to network.dns.disableIPv6. After this I was able to connect to internet and browse websites from Firefox.But I am having Issues with Evolution Mail(Connection Timed Out) and Google Talk Client(Connection Timed Out).Empathy Internet Messaging gets connected fine.I was wondering if I will have to disable IPv6 System wide and hence I added the following lines to /etc/sysctl.conf
#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
[code]....
I had an Ubuntu Server 32 bit installation and everything was working fine. Now that I installed Ubuntu Server 64bit on a new drive in the same machine, the ethernet card is not working!! This is insane cause when I put the hard disk with the 32bit installation back and booting from it, the ethernet card is working without any problems but in the 64bits installation it is not shown at all using "ifconfig -a"
lspci output:
Quote:
02:00.0 Ethernet controller: Atheros Communications AR8151 v1.0 Gigabit Ethernet (rev c0)
How can I check which module is being loaded in the 32bits installation to try to load it manually in the 64 bits installation?
I just installed the lamp stack and so far my default site is working. But a 2nd site I made is not working.I created the config file in /etc/apache2/sites-availableit reads:Quote:
<VirtualHost myip:80>
ServerAdmin webmaster@mydomain.com
ServerName mydomain.com
[code]....
I have very interesting problem after ~10 PHP Fatal error, php 5(latest one) in apache2(latest one) in Ubuntu Server 10.10(with latest updates) just do not work. So if try any php page it's not working(user see white page), but HTML still work fine.What that can be? So only restart apache is help to back php. (we are running Wordpress blog 3.1)
View 2 Replies View RelatedI had a problem with apache2 and getting .htaccess working. I have done some things and i believe its working the ErrorDocument command is anyway. I believe there may be some problems with the rewrites though.Im trying to take a urlhttp://localhost/showthread/123and make it display whats on http://localhost/index.php?showthread=123The rewrite rule is Quote:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^showthread/([^/.]+)/?$ index.php?showthread=$1 [L]
[code]....
.m4a files not working in banshee but working in rhythmbox.
View 1 Replies View RelatedI can connect to the internet with wired connection. The switch for the device is on but this command "sudo lshw -C network" has the following results:
#
[sudo] password for nn:
*-network
description: Network controller
product: BCM4312 802.11a/b/g
[Code]....
I upgraded Samba to 3.5.2 to enable Windows 7 to log in to the PDC. ACL was working with the Samba 3.0.28a that came with 8.04LTS. After upgrade I can now log in to the domain with Win 7 but ACL permissions are not working on Win7, XP or anything. They still show on the server but any attempt to change permissions on the workstation fails with "Access is Denied" and only user/group/other permissions are doing anything. Anyone know what changes for the ACL were made between the two versions? I know they're working on switching to VFS modules but setting "vfs objects = acl_xattr"
View 1 Replies View RelatedOK so I set up a server yesterday and got ndiswrapper loaded on it with the appropriate driver, I edited the /etc/network/interfaces file to contact my router with it's MAC address, WEP Key, etc... So the problem is I can ping addresses like Google and Ubuntu Forums but I can't use apt-get to install or update packages. When I try sudo apt-get update I get a whole bunch of Code: W: Failed to fetch <address>Temporary Failure resolving <address>My Wireless interface is wlan0 and also I can ping my server from my other computer running Linux and my server can ping that computer too.
View 1 Replies View RelatedI have a strange problem for internet. My clients (winxp - S2) can't get internet.Let me explain my scenerios. Fedora 10 with lan (eth0) having direct internet from dsl model, client (XP service pack 2) can use samba shares using dhcp (wlan0) installed in Fedora 10 box. client can ping my linux box.Now problem is: client (dosbox) can ping the google ip address (i.e ping 74.125.39.106) but can't use 'ping www.google.com'. That means ping with ip works for internet from my client. My linux box can. I can use internet from FC10 but can't use iexplorer from my client to have internet. I have enable ipmasquarding in Firewall and dhcpd is running on wlan0 for dynamic ip address of my clients.Can someone suggest me what kind of problem having I? What should i do to success iexplorer for internet? what possibly am i missing?
View 3 Replies View RelatedI followed the sticky about setting up wireless and I have come to an issue where the WLAN switch which is on this computer can be pressed, the light comes on, but no WLAN. When I looked in dmesg, this is what I get:
ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
firmware: requesting ipw2100-1.3.fw
eth0: Radio is disabled by RF switch.
When running iwconfig wlan0 heres what I get:
home/j-dub # iwconfig eth0
wlan0 unassociated ESSID off/any Nickname:"ipw2100"
Mode:Managed Channel=0 Access Point: Not-Associated
[code]....
Notice it says that the 'Radio is disabled by switch' in dmesg. I can press that switch until the end of the world comes and it does absolutely nothing but make the WLAN light put on a light show. And it shows the wlan to be unassociated with any clients. So, what are my options to get this Wireless up and working?
Computer/OS info:
Fujitsu-Siemens Amilo M7400
1.4GHz Intel Centrino R
40GB HD
Suse 11.1 KDE
I use an internet connection with a proxy. I have set the proxy in Firefox and systemsettings so now I can browse the web and I can ping Google from Console. But when I start Software Management, it says "Cannot access installation media". Whats wrong?
View 3 Replies View RelatedI have been a long time Windows user and just recently switched to Ubuntu. At first it looked like everything was going great ... now I just seem to have lots of problems with stuff not working right or not working at all, there are lots of issues but first tings first. I can't seem to get any program to copy or burn any dvds or cds. I understand that you need certain codecs and css stuff which are already installed.
View 5 Replies View RelatedI have an asus 1215b laptop. For some reason, when I plug my mouse into any of the USB 2.0 ports it doesnt work. However, these same ports work perfectly to coppy files onto pendrives or external hdd. However, the USB 3.0 works perfectly for everything. The last thing I expected was the newer 3.0 to work and not the older 2.0. btw, my mouse is a generic, brandless laser mouse (it is an inhouse brand of PC CITY stores: PC LINE). I have never had any problems with it before.
View 1 Replies View RelatedI recently moved into my room-mates house and her wireless was not secure as I was able to log on to it unsecured with my Fedora 12 Laptop. After Securing it with WPA all the windows computers had no problem getting back on to the now secure wireless. Using GNOME I went to SYSTEM then PREFERENCES and NETWORK CONNECTIONS and clicked on the wireless tab and configured wireless security tab and configured for WPA WPA2 Personal. No problems. But when I go to the gnome tool bar and click on the network and see our SSID it wants to use WEP 40bit and others methods but has no selection for WPA.
View 10 Replies View RelatedI have Slackware 13.1 with kernel 2.6.37. Everything is working fine, except that I can't mount any CD/DVD and automount is not working either. If I connect any USb to my laptop it doesn't automount, I need to manually mount it. The same case happens with CD/DVD only that I can't mount any CD/DVD even manually. Here's the output:
Code:
bash-4.1# mount /dev/cdrom /mnt/cdrom
mount: block device /dev/sr0 is write-protected, mounting read-only
[code]...
I'm running Ubuntu 10.10 Maverick Meerkat 64-bit on my desktop with a wired internet connection (with no firewall). For the past 2 days, I have observed that1. Firefox randomly throws up errors like "Problem loading page" whenever I click on a hyperlink. When I click on Reload, the page loads up just fine. This has been happening a lot recently..and I do not remember updating anything consciously. By the way, ipv6 is disabled in Firefox.2. The network stops working all of a sudden (usually indicated by the Firefox error). The Autho Eth0 indication is active, but I am unable to connect to any external machine.
3. Needless to say, this error is manifesting itself in apt-get as well. I get "something wicked happened" errors all the time, and am unable to download or install anything.That this is not a problem with the ISP is obvious because I also have Windows (from which I'm typing this, ironically), which is able to access the internet.Is this a bug in Ubuntu 10.10?
I just upgrade my fedora 11 to fedora 12 using the dvd and upgrade setup. I know that there is Fedora 13 released however now I`m with fedora 12. My problem was with sound. Sometimes the sound is working, sometimes it is not working. Here is the information for my PC:
[code]...
however If i killall pulseaudio or kill -9 PID of pulseaudio, pulse audio starts again and sound is working. I do not know every time when my sound goes off to kill the pulseaudio.