I'm tunneling VNC over SSH, which I manage to get working. What I want to do is this: Load into GDM as soon as Ubuntu finishes loading (I think I got this to work via the login screen config). As soon as it loads, I want it to run the command: x11vnc -safer -localhost -nopw -once -display :0 This way I don't need to issue that command over SSH anymore. Can I do this? Or is there a 'better way' to access the GUI. The machine is being stored well away from monitor/keyboard, so accessing it remotely is the way I want to do it. I'm not entirely comfortable working from the commandline so GUI it is.
I have SSH running on a computer I use as a server at home and login to it for my own purposes but am needing to share access to this server with someone else, and I'd like to do it in a way so that when they sign in all they see is the contents of one folder and nothing outside of it. So I'd like them to have full access to this folder and do anything they want with it, but not be able to browse outside of it at all via something like WinSCP (they're using Windows). I'm thinking I need to create a new account for them to sign in with but beyond that I'm not sure what I need to do. The only other special thing is that the folder I'd like them to be presented with is actually on an external hard drive. We're going to be doing a lot of online music collaboration and I need to give him lots of free space to drop files and the internal hard drive doesn't have a lot to spare right now.
I have a problem regarding the ubuntu enterprise cloud. I have installed CC,CLC,SC,NC and a client and logged into thje user interface using my browser for the first time with bith username and passwd as admin and downloaded the credentials.But now as I try to login with the same username and passwd, it says that its an invalid login. I understand we have to change the password on the first login but i don't remember doing the same.
I tried recover password option and gave the user name as admin and email address as my gmail id. It says that I have to follow the instructions sent to the mail, but there is no mail sent I have done it like 5 or 6 times with different mail ids
I'm hosting a server with Ubuntu 10.04. I've stumbled upon a strange problem.The server seems to refuse any login attempts, either with SSH or via a TTY after a reboot. After a couple of minutes (about 10 minutes or so) I able to login. The memory usage isn't high at login nor the system load. The auth.log doesn't show any login attempt before.problem? Or does anybody have a suggestion I could try to fix this?
Just give you the background:1) Let's call the two machines, Box A and Box B.2) OpenSSH is running on both machines.3) Key based authentication is setup between two users on these two machines, and both can login into the other with: "ssh user@host" with no problems at all.4) I'm also port tunnelling over SSH to encrypt some traffic between the two machines: "ssh -f -N -L 1000:HOSTNAME:1000 user@HOSTNAME"I can obviously then use "localhost:1000" to connect Box A to port 1000 on Box B securely.However ... and this is my problem ... I want this port tunnelling connection to be automatic when I boot the machine, e.g. "Presession" and "before" a user logs in.I tried adding to gdm/PreSession/Default: "ssh -f -N -L 1000:HOSTNAME:1000 user@HOSTNAME"But the problem then is because the user is not *logged in* at this stage, it can't use the user's private key to connect to the server, and hence can't automatically create the connection.How do I get Box A to automatically create a tunnel over a port to Box B, without any intervention from me, *prior* to any users logging in?
Just give you the background:1) Let's call the two machines, Box A and Box B.2) OpenSSH is running on both machines.3) Key based authentication is setup between two users on these two machines, and both can login into the other with no problems at all.4) I'm also port tunnelling over SSH to encrypt some traffic between the two machines. (I did have the port tunnelling code here, but this forum won't let me post URL ).I can obviously then forward port 1000 on Box A to port 1000 on Box B, securely.However ... and this is my problem ... I want this port tunnelling connection to be automatic whenoot the machine, e.g. Presession" and "before" a user logs in.I tried adding the tunnel command to gdm/PreSession/Default, but the problem then is because the user is not *logged in* at this stage, it can't use the user's private key to connect to the server, and hence can't automatically create the connection.
I am kind of new to servers and need to set up a server in the lab (for 4-5 clients). I heard ubuntu has a different server edition. But I already have ubuntu desktop edition so I was wondering if I really have to install a server edition for my limited functionality. If it is not required to install a full blown server and I can do with the one I have, how do I go about creating accounts for remote login?
I like the server login information that gets displayed when you login to a 10.04 server. It lists disk usage, CPU usage, Temperature etc...
Unfortunately I had problems installing 10.04 from a USB. At the end of the process the master boot record was stored on the USB and not the hard disk.
But now when I login to my server I don't get the server information.
I know there are ways to change the login of a linux box (runlevel 3) so that you don't see the regular login prompt but that you get a list with options. You see this with appliances.
My goal is to create a login like some of those appliances have. Instead of just getting a login prompt you can select several options like login, change network configuration, change password, stuff like that. How can I do this? Is there an Open Source tool to configure this?
All day I have to connect to various unix servers via ssh or ovpn. These servers report the current ip hourly to our dns server. I am trying to minimize the few hundred times a day i type ssh myUN@xy1234.mydns etc to connect. 1234 being a store number.
I would like to create a login script that has 2 options. -o = ovpn and -s= ssh. Is this possible.
ssh muUN@xy____.mydns is always used for ssh. openvpn --remote xy_____.mydns --config client.ovpn is always used for ovpn.
I would like to be able to type something like,
[jim@localhost tools]$ ./login -? 1234
again 1234 being the store number I need to connect to.
I was trying to create a shell script which will automatically login to the server 192.168.1.7 and checks if a user exists there or not, if it doesn't exist then it should create the user.I have very little idea about shell scriptThis is what I tried:Quote:
#!/bin/bash pass="sacharje" ssh 192.168.1.7
Now, how to pass that password automatically to the ssh when it asks for the password? (I can't use public key authentication here)
I noticed in Fedora that in Authenticate Configs ->Advanced, that there is an option to "Create home directories on the first login".I'd like to know if its possible to enable that through a text config file on a CentOS box that has ldap authentication enabled. Right now it's complaining that the home folder does not exist upon loggin with an ldap account.
ubuntu 9.10 64 biti try to install XAMPP and i want to create new database by use phpMyAdmin at MySQL localhost create new database it show No Privileges how to create new database from terminal
3 new 1.5TB HD. 1 used 1.5TB hd with 980MB of data. I want to set up a raid 5 with a hot spare. I have music, pictures, videos, and movies (About 2.8TB worth). I have had a mismatch of drives previously, 250GB, 2 320GB, 500GB, 2 1TB and now a 1.5TB all with data. I have removed the one 250 and 2 320s and put the data on the 1.5TB that is currently installed.
What I would like to do is create a raid5 with the three new 1.5TB HD's, copy the data over from the currently installed 1.5TB and then grow or add that drive as a hot spare. Or just add it and then add another 1.5TB down the road as a hot spare don't know for sure.
In addition since I have 2 1 TB drives, I could add 2 more (Good deals on 1 TB drives right now) and have a total of 4 1TB drives. Could I have 2 raid5's (4-1TB's and 4-1.5TB's)in two separate arrays? I really do not know if that makes sense or not but here comes LVM. I am tired of managing my HD space and since i have multiple folders (Movies, music, pictures, videos) and within the movies folder I have R, G & PG folders for the ratings of the movies. (Pwd protect the R so the kids can't get to it) So with LVM installed with the Raid5 I should be able to create my folders and just keep adding data and not worry about moving folders around when I grow the storage by adding new drives. Is that correct? Maybe someone could point me to a how to.
Also, if I create 2 arrays (And I need to know so I can order the 2 additional 1TB drives), then I could put all the music, G and PG content on the one array and all the R and spicy stuff on the other and password protect it.
I need to produce a script that will create a report that will be emailed to me that will Log user login activity to detect unauthorized remote access attempts. Where would I start?
I am using apache web server for my website. I have the main page up and I want to create another page. For example, I want to have "thisiswhatiwant" being the page I want to add
I'm using a Intel mac pro running Ubuntu Server 10.4 64bit, and I have it working. Currently, I'm just using Ubuntu using bootcamp, and not using EFI. The OS drive is 250gb which I know is more than enough, but it was what I had free at the time. I added 3 1tb drives to the computer, but not sure how to create a raid with them. I've done some searching, but still haven't been able to get it done successfully.
I installed postfix on my ubuntu server.I have created some users.How can I create e-mail aliases?For example, I have a user named "light" and I want to create for him an e-mail address.
want to set a domain name for my static ip address. If i am giving my static ip, i got output but i cant create a domain name instead of giving ip address.
I've been following this guide: http://flurdy.com/docs/postfix/
And done the points up to "Advanced mail server" and are trying to test mailing mail@mydomain.com to mail@mydomain.com (yes, the same inbox) using Thunderbird, through my own DNS, from the server.
But I get the following error: The message can not be sent because the connection to SMTP server mydomain.com timed out.
And when I check /var/spool/mail/virtual where the mailboxes are supposed to be stored there are none.
So I'm wondering how I create a mailbox with postfix.
I can add that I am quite a noob at linux but have to do this in a school project.
I'm using ubuntu server 10.04 32bit with GUI (yes I know, I know)
I want to make a image directory in the WWW folder. It works fine, but when I link to the images on the page it stands that I don?t have permission to the picture, 403. How do I set the permission?
I'm using Ubuntu 10.4 i set up the ftp server and config it. i'm trying to created name and password for my sister so she can login into my ftp server.
I also have one more problem, at this point i can only login into my internal ip, and when i try to login with the external ip, it wont let me in. so at this point i can only login on my local network.
Some time ago I created a web-site for a local charity, it's a museum. I wrote it all in HTML as that's all I knew. Now I need to archive lots of images and put them in a gallery. From a previous post I learned of Drupal, Joomla and Gallery. The problem is I really don't know where to start. I've attached some details of the server.
My questions are -
- Will my hosting company allow me to install a CMS like Drupal or do I have to use only the modules they supply?
- How can I set up a test site alongside the existing one and merge them later?
- How should I arrange the directories for a gallery with, say, 10 categories?
- How do I prevent any security weaknesses like SQL injection from happening?