Ubuntu :: Automatically Add A File To All New Users?
Jan 6, 2010
I am making a live CD and need to add a config file to all new users Home folder. This includes the Ubuntu user in the Live CD and New users created on install from the live CD.
Path would be: /home/ubuntu/config.file
View 3 Replies
ADVERTISEMENT
Jul 30, 2010
The question is, as far as I know Ubuntu distro adds a user created with useradd to supplementary groups automatically. For instance, I want to enable sudo for all newly created users on my LiveCD and want them to be added to the group 'wheel' on creation. I'm sure it is possible to do it in Fedora, but how?
View 10 Replies
View Related
May 6, 2011
I'm running into problems adding the required schema for automount and ldap on Centos 5.6 (also tried Centos 5.3)In the last few days I was able to setup LDAP server and get client authentication working. I want to be able to automatically mount users home folders on logon and store the configuration in ldap.I've done the following so far
1) added include in /etc/openldap/slapd.conf to /etc/openldap/schema/redhat/autofs.schema
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/redhat/autofs.schema
View 4 Replies
View Related
Feb 22, 2010
I would like to set disclaimer like content in my meral mail server, so that all the users should be able to get that content automatically in their outgoing mails.
View 3 Replies
View Related
Mar 30, 2010
I need a shell script that will add the users name and date to a file when the user has modified the file, these files are within a group and only accessible to this group. But we need a way for people in the group to know who and when the file was last modified.
View 1 Replies
View Related
Sep 1, 2011
I seem to be having a bit of trouble with a script I've been working with to add users to an Ubuntu file server So what I've been using is a text file in the format:
Code:
Username UserGroup Userpass
and feeding it into this script:
[code]....
View 4 Replies
View Related
Jan 16, 2010
Does anyone know how I can make a program run automatically when a file appears in a particular directory? I have two computers, one to program the firmware on a microcontroller (command line only), and the other is my desktop machine running Ubuntu. I have an NFS share between the two. What I want is to be able to drop a new firmware load into the shared directory from the desktop, and have the other computer notice it and program the microcontroller with it. Right now I have to open an SSH session to the other computer, run the program manually, and then delete the file. I would like to automate all of that.
View 5 Replies
View Related
May 3, 2010
I have updated to 10.04 on my desktop and on my Dell Inspiron 8200 laptop.What I would like to do is have the machines automatically synchronise working files as they change on each machine. I have found backup programs but am not sure if they will do what I need
View 3 Replies
View Related
Jun 19, 2010
I am using Ubuntu 10.04 x86_64 and have a problem that the file browser does not refresh automatically. This is what I notice. open a file browsercreate a folder or touch a new file from a terminal window.In the already opened file browser, I expect the new file or folder to show up on its own. It doesn't unless refresh button is pressed
View 3 Replies
View Related
Jul 12, 2010
Is there a way to have a directory automatically change the permissions of a file that is written to it? I have a program which saves files to a directory, and gives those files read-only permissions to members in the group. This is a problem, because other users of my computer need to be able to edit these files. The directory itself has rw permissions for group members.
I guess what I am looking for is a way for the directory permissions to "override" the permissions the program is trying to save the files as. For example, if the directory has "rw" permissions for the group, then any file saved to it will automatically get the same permissions, regardless of what the program writing the file is trying to do.
View 3 Replies
View Related
Feb 27, 2011
Is it possible to forbid that more then one user open the same file in rw mode? In windows when you open a file that another user is using, there's ad advise and you have to open it in read only mode
I installed ubuntu 10.04 desktop edition on 3 pc (there is not a server-client architecture). I installed samba.(and smbfs)
put the strings:
[name]
comment = ...
path = /...
guest ok = yes
read only = no
create mask = 0777
directory mask =0777
Computers that access to that directory do (on boot, with root privileges)
mount -t smbfs -o username="user",password="pass" //192.168.0.12/name /mnt/cartelladimontaggio
But if two users access to the same file, both are authorized writing on it! So changes made by one are lost when the other save.
View 4 Replies
View Related
Apr 2, 2011
I have a jar file which runs as the server with a GUI in my machine and if that starts up i can control my machine with the client in my android phone through LAN. Manually everything works fine if i login and start the server.
What I want to do
1) The server(jar file) should be started at boot
2) This should be available to all users irrespective of who is logged in and if multiple users are logged in simultaneously.
What I have already tried
1) I have tried to add this to the Startup Applications but it does not work always due to some reason after switching between users but even if it works thats not the solution i need because these settings are for a specific user and works after login
2) I tried adding this to rc.local file, but does not work when i login with any user, not sure why. I also tried putting them into all the runlevels (rc*.d folders), but nothing seems to be working. I am not quite sure if i understand how these methods work but when i did boot the server was not there.
3) Manually if i run the jar and switches the user with the first user still logged in, then the server is as good as not running for the second, but if i try to run the jar again, it fails because there is already a process which is running but for first user. If I switch back to first user i have the server.
The Files
1) I have the jar file to execute in /usr/local/bin/
2) I have a shell script in /etc/init.d/ which executes the java - jar command
3) I have the links to rc*.d for all runlevels for the above script
Nothing in the above seems to be working. I just need one process running for all the users, but i never could see the server starting on startup. If I manually start the server its only available to the user who started it.
View 3 Replies
View Related
Apr 27, 2010
I have a little problem: I have a share folder on Ubuntu server: - Dump That folder is share with SAMBA and everyone can put files on it
My problem is the following: When someone create a folder, the folder permissions are automatically set with:
(let's take my username: Yann)
Owner: Yann
Group: Yann
Clearly that's wrong.. I want the Group to be auto set has "users" so everyone can access the folders on that share. Anyone know how to change this ? chmod and chown is getting a bit boring
View 2 Replies
View Related
Jan 9, 2011
To back up the virtual machine, the 9Gb file needs to be split in half so that they can burn it to DVD Using lxsplit is pretty simple for me, but these people are completely terrified of a terminal. Is there a simple gui front end for lxsplit so that I can just put an icon on the desktop for them? I've looked around with no success.
Or is there a DVD burning package that splits them automatically? Brasero is on there but it doesn't seem to have that capability. This would actually be the best option, as they wouldn't have to bother with a manual split at all.
View 1 Replies
View Related
Apr 16, 2011
I have text files (.txt) to open with gedit but every time I try to open a text file it says:
Code:
Do you want to run "Installed programs", or display its contents?
And if I press Display it will open. How do I make it open automatically?
View 3 Replies
View Related
May 18, 2011
I have been searching for a few hours now trying to figure out the best way to have Ubuntu Server 8.10 copy and replace a file every week.
So for example:
File A (original file)
File B (replacement file)
I would want to copy File B from its location and replace File A each week automatically with out removing or destroying File B.
I've thought of doing a cron since I already have a job set for email piping. but I'm unsure of the best way to complete this task.
View 5 Replies
View Related
Jul 24, 2010
where are the "System Log Viewer" config files stored? I know most have been moved into /var/rsyslog.d/ folder but where are the users config file stored? I restored my local /home to a fresh install and the Log viewer is looking for log files from the OLD install.
So there must be a config file somewhere in /home/$user that the system log viewer is reading from as well as the rsyslog.d folder...
View 1 Replies
View Related
Oct 26, 2010
Idealy I want to create a batch file which would read the list and create a user and a password.
I know i need to create the file using the vi command and using the useradd facility to add the users however where i go from there i am lost.
View 5 Replies
View Related
Mar 22, 2010
When I SSH to a certain Linux host, although my default shell is tcsh, the .cshrc file under my home directory is not sourced at all. I can't understand why this happens because from my understanding, if I'm using the tcsh, the .cshrc should be sourced anyway!
View 1 Replies
View Related
Apr 15, 2011
Is there any method to automatically renaming a file when it is automatically put in a shared file in samba on debian ?
View 1 Replies
View Related
Aug 2, 2010
I am running redhat ent linux 3.0 with oracle database . Recently , I got a problem,perhaps some temporary files are created automatically and occupied my HDD . But I cannot find which files are created autamatically . Is there any way or any os related log file so that I can find that which files are generated automatically OR how can I trace it from OS perspective? I have to check oracle related tmp,trace and log file in every folder.
View 1 Replies
View Related
Jul 15, 2009
I want to automatically allow all users read execute or write permissions on everything created by a specific user, is this possible? For example user Wendy creates an office doc, saves it on a shared folder. Then another user (usually windows log into this folder and wants to edit this file and cannot. I know I can edit the permissions on this particular doc to allow all users, but I want this to happen by default so I don.t have to keep changing permission on each doc....
View 5 Replies
View Related
Apr 26, 2011
as the title, I have to create a file, example: /home/john/file.ini I created an user and a group, myuser:mygroup and set them to this file.ini chown myuser:mygroup file.ini Ok, my problem is I have another user named mymain this user must read this file, so how can I change the permissions? IMPORTANT: I ONLY have to allow "mymain" user to read this file, NOT all other users
View 3 Replies
View Related
Apr 30, 2010
I have Ubuntu Server 9.10 running with vsftpd and I want to restrict users from uploading certain file types (.exe, .avi) ect.. Is this possible?
View 1 Replies
View Related
May 26, 2011
I want to create a shared folder in a ubuntu sistem but I want to know if I can get access to some users of my domain active directory windows 2003 server?If I can, I would give that security in some of the subfolders of that shared folder as explained at the example:XAMPLE:
Backups (all have access and it's shared)
Mail of Charles (Can only have access Charles that have an account on domain)
Mail of John (Can only have access John)
[code]...
View 1 Replies
View Related
Aug 26, 2010
How can I automate the following: When I insert a flash drive into any of the available USB ports, some kind of script or software, must automatically mount it, delete everything off the flash drive, copy an audio file back to it and then automatically unmount the USB.Maybe I should setup some kind of Kiosk to use the above functionality - would that be easy?
View 2 Replies
View Related
Nov 16, 2009
After a kernel upgrade on my linux, my grub.conf become empty. How can I auto generate grub.conf file? I don't want to do it from scratch.
View 3 Replies
View Related
Apr 23, 2011
I found that sometimes if I have opened file manager window (Dolphin) it does not refresh list. Example, if I already have Dolphin opened and then create file in Terminal - i need to press F5 (refresh) to see newly created file
View 9 Replies
View Related
Jun 25, 2010
To be specified,what I want to do is:
if I create xxx.php,#!/usr/bin/env php will be the first line of the file
if I create xxx.py,#!/usr/bin/env python will be added first.
View 4 Replies
View Related
Apr 24, 2009
When using mput in smbclient (with recurse turned on) is there a way to automatically respond yes to the prompt to copy each file, or avoid the question all together?
View 2 Replies
View Related