OpenSUSE :: Automatic Folder Creation Upon First Login?
Jan 17, 2010
When I create a new user account and login the first time to Gnome a series of files and directories is created in the user's home directory. Those directories are for example:
How can I control what files and directories are created? I checked /etc/skel but none of those entries where there. In particular, I do not want to have the folders "Bilder", "Documents", "Musik", "Videos", "Vorlagen" and "�ffentlich" being created.
I have a windows 7 ultimate host machine, installed oracle virtual box on it. Made a iso image to boot fr fedora. All this is fine when the installation is complete, it asks for reboot. Reboot done. Then I went to terminal. Did a SU - root to get into the root. Then I did a firstboot command to enter information. I created a user for myself and at the end rebooted the virtual box.
When it starts up, it does not show my user. It just shows "Automatic Login" and it logs in as Live System User. Even if I try to switch user then it gave me a authentication failure when I enter the credentials of the user which I created. If I try to create users manually using system administration, the user is lost after reboot. I have tried all possible steps...as instructed on the net.
I've been running 10.04 since September on my new MSi i3 notebook and about two weeks ago I noticed that when I login after system boot, propagation of icons on my desktop and the content of my Panel have become slower and slower.If I logout and login again the propagations are not slow.
I was lurking about my hidden files and noticed the ".thumbnails" directory. I had been browsing the web for about an hour and had opened some image files from my drive.HOLY CRAP! I had over 2000 thumbnails in that directory! Every time an image is displayed, a thumbnail of it is created? Really? Seriously, I don't care what the reason behind this "feature" is, how do I stop it? It is simply unnecessary and a waste of disk space.
I'm a big fan of the NSLU2-Linux project so I've been doing some developments for this platform for the last three years. In order for the end users to test my applications, I initially created an USB image with everything bundled into it. Then, they only had to download the image and decompress (dd) it into an USB pendrive with capacity equal or greater than 4 GB. The fact is that this has brought me lots of problems in the practice since my Web server hardly accepts long file transfers.
Moreover, flash spaces beyond 4GB are wasted. As result, I'm now considering a different approach as I don't know how to do it. Well, I've thought that I could maybe create an USB disk image only with the root file system partition. Then, the first time a script runs, it creates a home partition and formats it into the rest of the space available in the pendrive. There is maybe some command-line alternative to fdisk without having the user to interact during the format process... ??
when a new email arrives on my gmail account, i want to be labelled (=tagged), letting an external bash script read the message and choose the right label.
i.e.: from: ebay to: me
dear matteo, congratulations! BILL_GATES has just bought one of your items! regards, mr. ebay i can easily write a script to calculate the right label (BILL_GATES) but how can i create it (if not already existing) and apply it to the processed message?
it took me 2 minutes to find a guide on how to configure mutt to view my gmail account, but i can't go any further... mutt has a kind of patch or extension to manage labels (view, edit, apply, etc), but i can't figure out how i could make it an automatic procedure... fetchmail + procmail seems to be the best solution, but (before spending a night with any effort)
I have a machine I have already installed 11.3 on. How do I set it so it has a automatic login for a specific user into the KDE desktop? I looked in YAST but didn't see anything obvious to enable that behavior.
I'm creating my custom distro in SuseStudio, but I want to automatic login, but it says is is not supported in SLE10. But it has a scripts tab..Is it possible to create a script that creates automatic login
I'm trying to create a folder using the archive manager to install Resin (web server) in the usr/local folder but I get the error message 'error creating directory: Permission denied.'
Is this the easiest way to install an app--by using the Archive Manager--and if so how do I establish the correct permissions.
I have a question about the ln command for link creation. I have both Windows and Linux partitions on my system. While I'm working on linux, sometimes I need to access the data stored on my windows partition. Yet, the access is provided through /media directory and I often, I have to click on several folders in order to access windows "My Documents" folder. So, in order to avoid this, I decided to create a link to "My Documents" folder directly from my $HOME directory.
The link was created without any problem and now I have a direct access to that folder just by a click. Yet, there is a problem. If I update any file of the windows MyDocuments folder within this linking directory, the file is actually updated on the windows partition, which is of course what I want to do. But If I decide to create a new file on the windows "MyDocuments" folder by using this linking folder, that is, /home/dariyoosh/MyDocuments, the file is put actually on the linux partition instead of the windows MyDocuments folder. So, having created a directory linking to another directory, is there any way to proceed so that any file operation, in particular, creation, affects directly the linked directory?
I'm trying to setup a Samba share for our work. I have it almost complete, however I can't successfully share editable files between users. The issue I'm having is that say User1 create a file test.txt, because of the 755 permissions, then User2, who has "writable" rights as per the smb.conf file, cannot edit that test.txt file.
Whevener I create a file with a user, its locked by that user. Is there a way I can set it that every folder/file a user creates is 777 ? I firgured that there's still security because of the "Valid users = " field in the smb.conf file.
First off I'm running a headless Ubuntu server 10.10 box.I have a single folder on a ntfs drive that I wish to copy somewhere else on the same HD. I'd like this to automatically happen about once a week or so. It would be even better if it would tarball the copy also..but this isn't a 100% necessary.
Something like "XFOLDER" would be copied to "/backup/XFOLDER1.tar" then next time "/backup/XFOLDER2.tar" and so on.
I have been looking around online and I am seeing that there are several solutions for doing a nightly automated backup on Linux. I was wondering what people here actually use for doing such and why they use one particular backup method over another.
What I am looking to do is every night (at say 3am) I want my system to backup my 200gig Documents folder to my external hard drive. Does Ubuntu have a tool built in by default to do this or do I need to add something from the repos/online?
Is it possible to run OCR on new .pdf- and image-files in a spesifc folder on the server? Today the schools in the region was presented a tool that do exactly this, but of course this only runs on windows.
I'm already aware that you can set automatic login for gdm, which is what i currently have now.
Unfortunately, for some bizarre reason, it doesn't work 100% of the time. I'd say for about every 10 successful auto-logins, I get a case where it just sits at the log-in screen. This is a problem for me because i use it for a specific purpose, and i need Ubuntu to come up as fast as possible, without any user interaction.
So far my only workaround has been to reboot it whenever it does a bad start (where it asks me to log-in) and usually when the PC reboots, it will auto login fine.
I've given up trying to find out why it does that, so i just want the log-in screen gone entirely. I've searched on google and on this site directly, but no one else seems to have this issue.
To enable automatic login, I edited the /etc/gdm/custom.conf file and entereted the following lines:
Code:
The automatic login is working but I still see the login box with options to select language. After a delay of few seconds, the system will automatically log me in. I don't know why I see the login window. Is there any way to bypass this window?
My laptop running Ubuntu 10.04 insists on automatically logging me in without asking for my password. The only thing is, I've disabled auto login and it shouldn't be doing that.
When I first boot up Ubuntu all I have to do is select my username, no password required to log in. I want the login screen to prompt me for my password for better security.
Here are the settings I already have:
System - Administration - Login screenSet to "show the screen for choosing who will log in"
System - Administration - Users and GroupsI am the only user I have an Administrator level account "Don't ask for password on login" is unchecked, i.e. it should ask for my password on login. If I create a new user with the same settings, that user gets asked for its password. But I don't.
Surely this should be enough to disable automatic login.
I have enabled automatic login in Lubuntu, and have now added a second user, I want to DISABLE the automatic login, or perhaps change the default login. The usual Ubuntu admin window for this does not appear to be available. Where in the conf files this setting is, and or whether there is a GUI that controls this.
recently installed Ubuntu Server 10 everything has set up just fine but the only problem i have is to get ubuntu to login automatically. The main reason for this is because i havent got a monitor connected if for whatever reason the server restarts its hanging at the login screen and i cant login via vnc to the desktop. The furthest ive got is for it to say at the login screen next to the name (user logged in). Any Ideas on how to resolve this? or if it is possible?
I have installed CentOS 5.5 successfully and I have VNC working. This server will be a headless box that will reside in a server rack. I intend to perform any necessary maintenance on the machine remotely though my desktop computer. My problem is that when CentOS is on the login screen, I cannot connect with VNC. Once I have logged into a user account, then I can connect.
I would like the server to automatically login to one of my users each time it boots so that the VNC connection will be opened. Currently I have two users, root and Zachary. I would like the server to automatically login to the user Zachary.
In the CentOS Gnome GUI, when I go into System > Administration > Login Screen, and then click on the Security tab there is an option to "Enable Automatic Login." If you check this box a select form field becomes active; however, there are no user accounts showing in that select field. I tried typing in the user name that I wanted to automatically login, but after closing the screen it clears that username. What am I missing?
I made my Fedora 13 box boot up automatically by adding the following to /etc/gdm/custom.conf
Code:
However, when it boots up it prompts me for my password so it can connect to my wireless network (I think it said something about not getting my user password at login). Is there anyway I can get it to remember this?
I would like to make this automatic because this will be a remote box that I will use as a file server, but it wont be turned on all the time. So I'll turn it on when I need it, but I'll need to connect to it remotely, so obviously it needs to be on the network.
I want a automatic login in my system with fedora 15 LXDE Spin. I followed the steps given in this thread but it doesn't work. There is no login screen option in administration also. What should I do?
I want to connect to anothere server from my current server through SSH command.
when I am using the command in the terminal like-- ssh username@ip it is asking me to give password. This is working fine in the terminal. but I want to do it automatic through a shell script.
How can I be able to provide userid and password through shell script?
I was trying to achieve it by creating a public key and copy it to the destination .ssh file. but I dont have the permission to create any file in the destination server.