Debian :: Remote Network Access To Single-user Console
Jul 11, 2010
When I start an upgrade or dist-upgrade from single-user mode, and walk away for a long time, I will have found that some packages insist on prompting for answers to questions midway through. That requires me to physically check the console periodically, and that becomes less practical for long upgrades.Is there a way for me to somehow remote into that console and answer any prompts that would popup? By "way" I mean not involving KVM switches or other hardware other than the LAN setup I have now (i.e., I am able to ssh into the machine being updated from another machine, but not when the machine is in single-user mode).
BTW, the reason I am using single-user mode is that, in the past, I have had problems with upgrading packages like GNOME when I am logged into the GNOME Desktop.
I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.
I have a file server on my network. It is accessed mainly by linux machines throught NFS, but sometimes I need to access it from windows, and I managed to get Samba up and running with only one share with no password, which is what I want.My users have their "private" folders which are just chmodded 700, and under NFS it works fine, but on samba I get, of course, access denied.How can I configure samba so that it asks a password to access those directory? They can become separate shares, and have their own username and passwords (not the ones in /etc/passwd in the server), I don't care.
I upgraded a Guruplug Display machine running Lenny to Squeeze. It's running Linux on a MicroSD device, running an ARM-cpu.
# uname -a Linux gplugD 2.6.29 #1 Wed Feb 16 17:59:04 IST 2011 armv5tejl GNU/Linux yeri@gplugD ~ $ cat /etc/debian_version 6.0.1
However, after rebooting, every non root user was unable to access anything related to the net.This means, DHCP failed to auto start, ntp is giving errors, etc
# ntpq -p localhost: timed out, nothing received ***Request timed out
daemon.log:
Mar 27 06:07:44 localhost ntpd[1478]: ./../lib/isc/unix/ifiter_ioctl.c:348: unexpected error: Mar 27 06:07:44 localhost ntpd[1478]: making interface scan socket: Permission denied Mar 27 06:07:44 localhost ntpd[1478]: Too many errors. Shutting up.
As root:
gplugD ~ # ping 85.12.6.171 -c 1 PING 85.12.6.171 (85.12.6.171) 56(84) bytes of data. 64 bytes from 85.12.6.171: icmp_req=1 ttl=58 time=42.1 ms
I have a Lucid Ubuntu installed on my home PC with two user accounts, AmHero and simple. I would like to have all internet access disabled when my kids login with the 'simple' userid. And yes, internet should work when I login using AmHero. I tried this:
[URL]
..but this does not work and gives some errors on the terminal.
I can paste the errors, though I am not sure this will even work as I found this in an old post.
I'm wondering if there's a way so that several people can log onto my computer at the same time. When they connect it goes to the login screen and they choose their account and log in. Everybody has a different account and sees a different desktop. Is that possible?
Take a physical user FRED. FRED is a linux user ( known by linux on his laptop ) FRED is a Samba user ( Known by samba on the samba pdc server ) When he logs locally (with username/password) on its standalone laptop (with no network), he is known as FRED:user. He access his data in /home/FRED/. When he logs through samba (with username/password) on the domain MY_DOM, he is known as MY_DOMFRED:MY_DOMdomain user. He access his data in /home/MY_DOM/FRED/. ) Is it possible that the human FRED has only one repository and have full access to its repository regardless of how it was connected. If yes, how to do it
2) If not, Is it possible that the human FRED has full access to /home/FRED/.............. and /home/MY_DOM/FRED/.
I have several local users on a F11 box. I want to keep one of those users from getting to the network. I could upgrade this machine to F12, if it offers a better solution.
I've got a USB Epson Perfection1200 (usb-id: 04b8:0104) connected to my Fedora 13 x86_64 system. The scanner works fine for me, the console user. If someone logs in to the system via "ssh -X ..." and starts "xsane", xsane reports that no scanner is available.
Googling turns up countless recommendations, mostly identical, which pretty much say:
1. find usb device (lsusb) 2. find bus and dev IDs 3. chmod 666 /dev/bus/usb/BUSID/DEVID
this is a best a miserable hack. I would like to know how to adapt the permissions that hald uses when a usb device is connected. Does someone understand this and can explain it?
In the past, I've installed Internet services as daemons and as xinetd.d with no problems. Those approaches do not meet my needs. And, perhaps, nothing will.
- the service was converted from VB-6 to wxPython. It has a GUI which is accessed with either "remote desktop" or VNC. - the wxPython service works on Windows and can be accessed from other hosts on my LAN - the wxPython service works on CentOS and Fedora, but can only be accessed from within the server host. Even from other user-ids. But, I cannot get to it from other hosts. - ipchains AKA firewall ports are marked for INPUT. - The server host uses autologin to fire up a useid in group "user". I do not want it running as "root". the .bash_profile fires the service up. - the service is heavily mult-threaded, and supports devices connected to serial ports asynchronously with the ephemeral port threads (all this works).
There are some programming solutions that I would rather not develop. - a proxy service that runs under xinetd.d. - separate the GUI code from the Internet and serial port code. Allocate a "control" port for remote GUI control. a'la SAMBA & SWAT
Is there any hope, that I can run it as is, by doing some network configuration stuff.
Upon OS start-up Debian gives a choice, one is just simply start Debian, another line to start Debian, but with brackets (single-user mode). What's this for? And when and why do you need to use this?
I have successfully installed Debian on a Sparc Ultra5, 270MHz SparcIIi CPU, 384MB RAM, 40GB HD. However, once Debian tries to load Gnome (right before the login screen) the screen goes blank, and so the machine becomes unusable. I booted of the NetInstall CD, into rescue mode, and executed a shell, but apparently there is currently a problem when running nano from a live CD, so I can not edit the xorg.conf file when I boot the live CD. So, I would like to just boot the install into single user mode, but I dont know how. Currently, when the Ultra5 is powered on, it tries to boot with command "boot", so I hit "Stop A". From there I type "boot Disk1" to boot Debian normally. To boot from a CD, I would type "boot cdrom" So any idea on how I can boot from Disk1 in Single User Mode?
My only other idea is to hook up another monitor I have which may be able to deal with whatever resolution Gnome is defaulting to. However, Id rather just boot into single user mode.
I want to create a user on my opensuse 11.4 computer, for the sole purpuse of using it to access network shared data (eg samba, nfs, etc). This user must be in the "Users" group, but it must NOT be able to login directly on the computer, i dont want him to show up on the GDM users list at logon, he must not be able to login to a terminal, etc.
How can i add a user like that? must he belong to a specific group?
I'm running Debian Lenny. When I exit run level 1 (single user mode), the system automatically continues into run level 2. I have browsed the init scripts and have yet to determine how this "magic" is performed. I would be grateful if a local guru would point me to how the scripts automatically proceed into run level 2 when exiting run level 1
So I've been trying to get a single user to login to an FTP site I've created using proftpd and I haven't had much luck. So check this out: this only applies to one user, I can "su" to the user account so I know the password is set, and I am even able to SSH into the box as this user. This totally eliminates a bad/incorrect password and the server IS accepting connections on port 21 because I can FTP as other users. I've ruled out the client because I tried locally and using a command promptWinders but still no luck. This is what I'm seeing in the logs when I attempt to connect using an FTP client.
::ffff:192.168.1.118 UNKNOWN proftpd [18/Jul/2011:15:57:44 -0700] "USER crownftp" 331 - Jul 18 15:57:44 ctserver-2 proftpd: pam_unix(proftpd:session): session opened for user crownftp by (uid=0)
I am starting Debian in single-user mode since my video is not detected in X mode. I would like to start a script at boot time with Debian. I flowed the instruction from this page [URL] but is not working.
I have just installed Ubuntu 11.04 and the Cisco VPN client with : apt-get install network-manager-vpnc
I have imported the PCF provided by my employer into the GUI. The group password also seems ok, when I login to the VPN server, I am provided with the "VPN Login message". (On Windoze, I get an Ok/Cancel popup with the same message). In Ubuntu, I don't get to click "Ok" but it looks like I'm connected properly. The /var/log/syslog file contains numerous static routes added, 30 or so. After the Login Message, I see the couple of line:
Jul 8 12:40:51 ubuntu02 vpnc[1613]: can't open pidfile /var/run/vpnc/pid for writing Jul 8 12:40:52 ubuntu02 NetworkManager[630]: <info> VPN connection 'VPN to my network' (IP Config Get) complete.
I get an IP from the external network correctly as well:
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:172.16.10.170 P-t-P:172.16.10.170 Mask:255.255.255.0
However, I cannot ping any of the machine on the remote network. None of the network services seems to be accessible. Why the machines on the VPN are not accessible?
I'm new to the principle of network boot and I was wondering if this is possible. Computer A runs openSUSE. Computer B is an older, slower computer. Computer A and computer B are connected using an Ethernet cable that supports two-way transport. Can I use network boot on computer B to use the OS on computer A remotely while computer A is being used too? Does it involve RDP? Will the remote user experience noticeable lags/delays? What do I need to install on computer A to make this happen?
I have a server machine that is running SUSE Linux Enterprise Server 11. I set up a mysql server there. Now I want to access this mysql server from my laptop. I used the following command,
> mysql -h 12.246.5.70 -u davidehs -p
I found if the firewall on the server machine is running, I can not connect the mysql server from my laptop. If I stop the firewall first, and the do the connection, I can access the mysql. how to keep the firewall running and allow the remote mysql incoming requests?
I have a server machine that is running SUSE Linux Enterprise Server 11. I set up a mysql server there. Now I want to access this mysql server from my laptop. I used the following command,
> mysql -h 12.246.5.70 -u davidehs -p
I found if the firewall on the server machine is running, I can not connect the mysql server from my laptop. If I stop the firewall first, and the do the connection, I can access the mysql. Do you guys have any idea how to keep the firewall running and allow the remote mysql incoming requests?
I've installed Debian 6.0.7 with apache, php, mysql and phpmyadmin. We have a server with active directory and ldap where all the Windowsclients log on.
I want to view the username of the users visiting the Debianserver with $_SERVER["REMOTE_USER"] so I can give them personalized settings.
Tried installing the NTLM module from sourceforge but that didn't work, winbind also didn't work ...
I have a server using ldap. I installed Debian with an Apache webserver with PHP and MySQL support.This server will be used for intranet so I want to know what the REMOTE_USER variables is.Looking at the phpinfo does not give any reference to the REMOTE_USER. REMOTE_ADDR is no problem but does not give me the user using the computer.I've installed libapache2-authenntlm-perl with apt-get and adjusted my /etc/apache2/sites-enabled/000-default file with the following:
Code: Select all<Directory "/var/www/intranet">   PerlAuthenHandler Apache2::AuthenNTLM   AuthType ntlm,basic   AuthName mycompany   require valid-user   PerlAddVar ntdomain "server.domain.be server"   PerlSetVar defaultdomain server.domain.be   PerlSetVar splitdomainprefix 1 </Directory>
where server is my servername and domain is my domainname.The problem after reloading apache2 is that I get the following message: This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.When I delete the AuthType, AuthName and require line it loads the webpage but without the REMOTE_USER variable.
It is not ment to ask for a password or username, just to get the username used to log in in the Windowsenviroment that visits the webpage on this Debian.
I have logged into one Linux VM and I want to test remote access to another Linux server on the same network but I cannot recall the Linux application to call?
My wireless works without issue with network manager. However I notice that it seems to be a gui only app. That is, when I stop the display manager my laptop loses internet connectivity. The NetworkManager service is still running. Is there a commandline method of using the NetworkManager settings to start the wireless connetion?
Weird thing going on on my headless lenny box. The shared desktop won't let me in.I am trying to connect with my Mac, ssh is ok. I can connect, start vino-preferences, change everything I want to change, and still it won't let me in. both Mac Ctrl-k to vnc://lenny and Chicken of the VNC won't connect.
I would like to share my desktop (from my personal computer) to access it in my work, which is outside the local network. But I'm not able to find the place where I do the settings of the share.In the last version of Debian (Lenny), in "System > Preferences > Remote Desktop" it was possible to configure the sharing (password and listening port). However, in the current stable version (Squeeze), this is no longer present.Does anyone know where these settings are, or maybe if it was deleted from this version?
I'm running CentOS and I get an error when I plug in my usb flash drive.
Error org.freedesktop.DBus.Error.AccessDenied
A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface org.freedesktop.Hal.Device.Volume member Mount error name (unset) destination org.freedesktop.Hal)
How would that work when all of the users are network users(openldap)? So these are not local accounts.