General :: Install Applications For Multiple Users?
Nov 27, 2010
I'm quite new to Linux and wanted ask how I can install applications to any Linux distribution such as Debian or Red Hat so that multiple users can access and run that application. Should I be root to install applications to directories like /var, /opt
I'm setting up a large number of virtual machines, each with a basic set of about 30 applications. Obviously, I don't want to do everything manually so I'm looking for ways to automate this process. Multiple distributions (Ubuntu, Red Hat Ent., FreeBSD, CentOS, etc.) will be used, meaning I will have a few Ubuntu installs with the basic set of 30 applications, and multiple Red Hat installs with the same set, etc. So, I'm looking for advice on automating as much of this as I can, even if it means a new form of automation for each distro.
I am running Xubuntu on a MacBook Pro with fluxbox as my window manager. Yesterday when I attempted to launch firefox I received a bus error and the application did not launch. I corrected the problem by removing and reinstalling firefox. Today the same problem is happening with emacs. I have not tried removing and reinstalling emacs so I am not sure if that will work but since the problem has occurred in more than one application now, I assume it points to a larger issue. I have done some research on bus errors but it isn't clear why this problem would manifest in different applications in this manner. After the a failed launch the dmesg reports this, which seems relevant:
I want to setup a git repository, three of four users will contribute, so they need to download the code and shall be able to upload their changes to the server or update their branch with the latest modifications.So, i setup a linux machine, install git, setup the repository, then add the users in order to enable the acces throught ssh.Now my question is, What's next?, the git documentation is a little bit confusing,i.e. when i try from a dummy user account to clone the repository i got:
filter bandwidth for some users (about 150, from 100.100.100.1 trough 100.100.100.250) on LAN. All LAN users connect to the internet through RedHat linux server and all I could do so far is to ban some of them using iptables and commands
-A INPUT -s 100.100.100.107/32 -j DROP -A FORWARD -s 100.100.100.107/32 -j DROP -A INPUT -s 100.100.100.235/32 -j DROP -A FORWARD -s 100.100.100.235/32 -j DROP
I would like to set a download/upload limit for some of them, is that possible?
Id like to create a script to unlock multiple users rather than entering the command manually for each user.Im quite new to Linux and have not done any scripting so far. its possible to achieve what I want, and possibly provide examples or point me in the right direction? We are using RHEL 5.
I am new to Linux (I get to learn it for work ) I was wondering how to launch multiple applications on different work spaces via a script. I have researched it and come up with most people using "Devil's Pie" I don't have this as an option. (work reasons) I was wondering what commands I could use in the script file to launch an app. on Said monitor on Said workstation.
I would like to mount a (permanently) attached external USB drive so that it is writable by multiple userids. Currently HAL is mounting the drive as writable to my owner user and readable for group and others. My m/c also runs as an FTP server and I would like said FTP server to be able to write files to the external drive. Just being able to specify a gid would probably do the job for me.
I have googled HAL and UDEV and also attempted to configure usbmount to do this, all to no avail. I am running SLES 10.3. So in summary, can I & how do I either make HAL mount the drive with gid=nnn, or should I not use HAL and simply make an entry in /etc/fstab and make sure a I get the same device address for this USB drive each time I boot?
I'm having trouble breaking down permissions in linux. Here's the scenario. I have two users: UserA & UserB with each having to ownership and access to directories myDirA and myDirB respectively.
UserA --> /source/myDirA UserB --> /source/myDirB
I need to set the permissions so that userA can access myDirA and myDirB. There are other users and directories but they should not be able to view outside of their own directories (which is the way it is now). I don't have groups set up for them and I'd rather not change anything else but just the permissions.
rwxr_x_r_x UserA rwxr_x_r_x UserB
They're read/write/exec permissions are identical.
There is a folder that is owned by user tomcat6: drwxr-xr-x 2 tomcat6 tomcat6 69632 2011-05-06 03:43 document. I want to allow another user (ruser) write permissions on document folder. The two users (tomcat6 and ruser) does not belong to same group. I have tried using setfacl: sudo setfacl -m u:ruser:rwx document
but this gives me setfacl: document: Operation not supported error.
How can I configure a single computer to work for multiple simultaneous users? I would like to have multiple keyboards and monitors on a single PC ... Is it possible? This set up I'm planning for CyberCafe, For cyberCafe business ROI is very slow... so was planning to have something like this....
-single CPU (Which would act as a server) -Multiple monitors, keyboards, Headphones etc....
If this works out then I would save a lot on my investments (OS cost, Hardware devices, electricity etc)
I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.
I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.
I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?
I'm trying to get VNC working on Damn Small Linux. I installed the package, and I can get the viewer to work. However what I want to do is get the server working so that I can remote connect to users. When I do connect instead of the active session all I get is a grey screen with an xterm window. I've done a lot of searching for this, but cannot seem to find a good answer. What I'd like to do is connect to the native X session. I've tried changing things in the xstartup file to things such as "-display :0" but it still doesn't work.
I can't seem to get last logged in dat/time for vsftpd users. They are linux users maintained within passwd groups ect ... i think this is because ftp doesn't actually give them a real session. That being true, how do i get the last logged in time for my ftp users?
I had Ubuntu 9.10 running ok, but I've decided to try Lucid Lynx with Kubuntu and was quite impressed with the quality of KDE. Everything worked out of the box also.Until I tried to login with two other accounts this computer had...With one of the users I get both errors seen on the snapshot. One regarding the network manager (which I think it was given just because it was already started by another user), and the ibus error, which completely locks the user from accessing any other drive or usb disk.For the third user, even if creating it from scratch (not re-using his /home), I get an error:
Code: kstartupconfig4 does not exist or fails. The error code is 3. Check your installation. /home is in another partition that's been used since 7.10 I think. I did cancel all /. from
I am using putty to connect to some servers. Is there a program that let you connect to say three servers and when you write your commands to server1, server2 & 3 also gets the command? So I don't have to log in to all three servers to do the exact same thing.
I feel shy asking this question but, 90% of the applications I install in Ubuntu (last release), do not show up later on in the applications menu, so I cant run them. I know it seems silly, but I can't find the way to handle this inconvenience. Is there a place (like Start> All programs in Windows), were I could find and run all the programs I install?
Ok, for various (mostly security) reasons I was experimenting in running certain apps as a different user id (on Karmic).
I can get X to forward to my main session without a problem but I cannot get the sound to work. Sound works fine in my main session, but when I run sound as another user I get plenty of errors like:
PHP Code:
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
I am not a big linux GUI person, so I have rarely dealt with sound systems under Linux. What is the simplest way to get this to work in a relatively secure way? (I do realize that my security is already a bit compromised by allowing the secondary user access to X, but that can't be helped)
I want to add users from the command line, I know I can use the adduser for individual users, but if you have 50 or more there must be another way. I'd rather not use the GUI.
I work in a company where the Ubuntu server is managed by different people around the world. Day-to-day admin : me in France with an Azerty keyboard Level 1 24/7 support : team in US with a Qwerty keyboard
Of course there's commands like sudo dpkg-reconfigure console-setup but this one affects the whole system. I've searched quite a lot on how to change the keyboard layout for one person only, but it always relates to the Gnome interface. So I'd like to know if you knew a way to locally change the keyboard layout, only the SSH connection of the user? Maybe in the startup scripts of the bash session, or even better, when the user types his user login (so it detects his language and automatically switches to the right keyboard).
i am trying to install ubuntu 9.04 on quite a few computers. all the computers need the same applications that i already have, as well as settings such as panel shortcuts and color schemes. there are no files like music or pictures, just applications already installed. i have all this on a bootable flash drive. all settings are saved. if i install from the flash drive will the settings transfer to the computer i am installing it on? if not, is there another way to copy all settings and apps or do i have to manually install everything on each computer?
I would like to open multiple applications with one keyboard shortcut but don't get it running. When I add (open "System" > "Preference" > "Keyboard Shortcuts"; clicked "Add" ) a new shortcut and enter many commands in the "Command" field e.g. "gnome-terminal & xeyes" only the first application is started. I also tried to set up a shell script that contains the application calls and then use "gnome-terminal -x "sh /path/to/the/script.sh" but then I get the error message "There was an error creating the child process for this terminal".