Installation :: How To Prevent Shell Access

Mar 23, 2009

I have a users, that log in from a terminal. They should not have any shell access, so currently their login script, at the end, starts the program that they use, and after that program ends, the login script moves on to log them back out. The problem is, they could press ctrl+c, while the login script is running, and it quits the login script and spits them out at a shell prompt. -- Is there any way I can prevent this?

View 4 Replies


ADVERTISEMENT

Programming :: Prevent "leak" Into Shell From A Customized Shell Menu Script?

Dec 15, 2009

I've created a simple script based menu. This menu will be accessed by only a certain users via ssh.When user logs in, the menu will automatically run. (configured at user's .bash_profile).How do I force the session to close when user hits Ctrl-C or Ctrl-Break ?In a nutshell, I don't want user to have access to shell.

View 11 Replies View Related

Slackware :: Have Printer Installation Utility Can Access Through Shell?

May 14, 2010

Do I have a printer installation utility I can access through the shell? I tried installing/configuring my parallel port HP DeskJet 712C through CUPS using xfce but they didn't list my printer.

View 3 Replies View Related

General :: Prevent The Logging Of Commands Run Into Syslog As Post-shell Expansion?

Dec 15, 2010

Is there an easy way to prevent the logging of commands run into syslog as post-shell expansion?

I.e log a command of "ls *.log" as just that, rather than "ls a.log b.log c.log d.log" It makes rather a mess of the log files.

View 1 Replies View Related

Fedora Installation :: Install Korn Shell Without Internet Access?

Jun 14, 2009

I work for AT&T and our Windows-centric workgroup is being tasked with supporting an app running on RedHat. To help my coworkers, I'm building a Fedora 11 VM that we can play with to familiarize ourselves with the UNIX environment.

Because of corporate network policies in place, my VM can't get access to the Internet.

Since we're AT&T employees, we're naturally using the korn shell on the production system. I'd like to install the korn shell on my VM. However, it doesn't appear to be part of the base fedora repository.

Is the korn shell available for Fedora? If so, how would I copy it to shiny media, mount it on my VM, and install it?

View 4 Replies View Related

Ubuntu Installation :: Access Encrypted /home From Rescue Shell

May 1, 2010

I have installed Kubuntu 10.04 x64 from scratch using the alternate installation CD and unfortunately I'm experiencing some serious troubles. Everything worked fine, installed packages, moved my backed-up data to my encrypted /home partition - until I rebooted. Usually I reboot the system right after the installation process to see if the boot process shows any errors, but what can I say, seems like I forgot to do it this time .

The problem is that the boot process just "hangs" right before the login window should disappear. By "hang" I mean dead: no switching to virtual terminals, no CTRL-ALT-DEL - the system just freezes.
I'm quite familiar with doing things shell-wise, so I started the "Rescue Mode" from the alternate CD and was able to mount my root partition.

Problem #1: No faulty log entries whatsoever: dmesg, boot.log, messages etc. all looking fine - except Xorg.0.log. I suspect the proprietary Nvidia drivers to be the culprit here, because what I'm getting is: "Caught signal 11 (Segmentation Fault). Server aborting"

Running "startx" as root from the rescue shell gives the same results: complete system freeze. "Looks like a reinstallation candidate, let's just backup my data" I thought, which brings us to

Problem #2: I can't mount my encrypted /home from the rescue shell. The exact steps involved are:

Mount my root partition and chroot to it. Issuing "ecryptfs-mount-private" gives the following error message: "ERROR: Encrypted private directory is not setup properly" Becoming my user "su - faulty" and trying step 2 again yields the same results. I feel like I'm almost there: I'm executing commands in my root environment, just can't seem to access my data which I'd like to backup before doing a clean reinstall. Any thoughts?

View 3 Replies View Related

Fedora Networking :: Prevent FF From Access Web ?

Apr 29, 2009

I'll spare the details, but is there a way to use iptables to do the following:

Allow all port 80 traffic to work for squid, yum ,etc. but prevent firefox from talking to port 80?

(That way if they don't use squid proxy, it won't work)

View 4 Replies View Related

Ubuntu :: Prevent A Certain Application From Having Access To ALSA?

Jan 20, 2011

How can I prevent a certain application from having access to ALSA. It keeps stealing my audio.

View 2 Replies View Related

Fedora Security :: Prevent People From Unauthorized Access?

Mar 19, 2009

I'm doing a research to protect my pc from physical access. What I'm facing here is that my company created a program for fedora 8 and plans to sell the unit away. We created a function where you can configure the program using any web browser from a network so we do not want anybody to have access to the fedora except for out personnel.

Based on my research, I've found [URL] this guide to protect people from accessing grub and single user. I am currently researching on preventing others to clone the harddisk. I would like to know if there are any other methods to prevent people from unauthorized access to fedora.

View 14 Replies View Related

Fedora :: Prevent OpenOffice From Trying To Access The Internet When It Starts?

Feb 19, 2011

Launching OpenOffice takes several minutes because it's trying to connect to the Internet. The problem gets worse in a dial-up connection. Turning off the Internet takes less than a second to start. How can I prevent OpenOffice from trying to access the Internet when it starts?

View 2 Replies View Related

General :: How To Prevent Access To Unmounted Mount Point?

Jan 10, 2010

I'm using some software that using mount point such as truecrypt. I also mount shared folder on other machine (fileserver) and publish it using ftp. The problem is when the truecrypt volume dismounted or the shared folder mount point loosing connection to the fileserver, user can write to the mount point without knowing that they actually not writing to the truecrypt volume or to the shared folder.

My question is, when sometime the server reboot and truecrypt volume is not mounted yet, how to prevent write to the mount point? I dont run truecrypt mount automatically for security reason.Some question for shared folder, if fileserver restart and the shared folder mount point got disconnected, how to prevent write to the mount point?

View 2 Replies View Related

General :: Mount Prevent All Access To Hard Drives From Bootable CD

Jan 25, 2011

I'm working on creating a bootable Linux CD to distribute a sandbox environment to customers that will work on multiple PCs.One requirement of this environment is that we do not want the user to have any access to the underlying hard drives in the computer to prevent any accidental and/or malicious damage. I can prevent the disks from automounting with a few udev custom rules, but is there any way to prevent/block the user from manually mounting the hard drives after boot up.

View 2 Replies View Related

Ubuntu Networking :: Prevent Various Pieces Of Software Trying To Access The Net For Updates?

Jun 22, 2011

I would like to use my laptop at home, where I don't have internet access (don't ask, long story). My question are two-fold;

** How do I prevent various pieces of software trying to access the net for updates etc. I presume they are likely to hang, lock up, and generally cause trouble.

** Can anyone recommend a working practice for installing updates and/or new software, either from USB or CDROM/DVD? I have good (legitimate!) access to assorted computer facilities at my office. I am using 11.04

View 6 Replies View Related

Ubuntu :: Access The Shell From Desktop?

Jul 17, 2010

I need to access the shell prompt rather than GUI of Ubuntu. I have installed Ubuntu in Microsoft Virtual PC 2007 Sp1 wherein installation is successfull. Now i have downloaded PuTTy to my WinXP Desktop. So by what IP can i connect with Ubuntu Shell. How to configure IP in both Ubuntu and in Windows XP so that this will look like i am accessing the shell remotely.

View 8 Replies View Related

General :: How To Add User So That They Have No Shell Access?

Feb 18, 2010

Im want to know the command to add a user with no shell access so they cannot log onto the system, but there a user on there so for example they can be part of the email server.

View 2 Replies View Related

Networking :: Rsync No Shell Access

Apr 14, 2010

I am looking for a secure way to backup data from user's computers ( Linux/Windows ).My needs :
1. Secure
2. Per user backups
3. Windows/Linux compatible ( server will be Linux only )
4. Incremental backups

My preferences :
1. Rsync

Things I can not do :
1. Give out shell access ( forget rsync -e ssh )
2. Use a protocol that takes too many ports ( my box is behind my router ).

View 5 Replies View Related

Ubuntu Installation :: How To Prevent|hide: Stdin Error 0 On Installation

Mar 6, 2011

I'm working on a custom Ubuntu Live CD and i have some problem with "stdin error 0" appearing before the splash screen... How can i prevent this? Or hide|redirect the output from stdin?

View 2 Replies View Related

Debian :: Adding FTP Users Without Shell Access?

Dec 20, 2010

I use this command line to add an FTP user:

useradd ftpuser1 -d /userdir

This works, but I don't want to give Shell access to the users.

I tried this:

useradd ftpuser1 -d /userdir -s /sbin/nologin

but then user can't login at all - not into FTP and not into Shell.

View 5 Replies View Related

Ubuntu :: Command To Access A Secure Shell?

Aug 20, 2010

What's the command to access a secure shell?

View 2 Replies View Related

Server :: Integrate SSH Shell Access With Microsoft AD?

May 19, 2011

how to integrate SSH Shell access of a Linux Server with Microsoft AD?

View 2 Replies View Related

General :: GNOME3 / Shell Quick Music Access

Apr 16, 2011

After having been a Gnome user since initial release in 1999, I have now upgraded to Gnome3. I figured despite everyone's moaning, over 10 years of a successful desktop means I should give it a fair go.

One thing: If I have a music player such as Rhythmbox open, how can I change track without breaking my current task focus and heading to "Activities" now that the notification area icon is no more? I change track alot, do I really want to change windows to do it?

View 1 Replies View Related

General :: When Shell Is Changed Or Crashed / Still Need To Have Access Remotely?

Aug 29, 2011

I have remote location Linux running (CentOS 6.0). It has dynamic ip address so i installed noip2 service and copied the file cp redhat.noip2.sh /etc/profile.d/noip.sh. After that when the system restarted once, it never have the correct shell. As a result remotely when i try to ssh the server i cant login and i cant do anything.When i debug the ssh i see that debug1: Authentication succeeded (password). and command is also sent but nothing just happen.

View 2 Replies View Related

General :: Users Cannot Connect To The FTP Unless Their Shell Access Is /bin/bash

Oct 4, 2009

I have a CentOS dedicated server running ProFTP. I have created user accounts which are meant for FTP access only but the users cannot connect to the FTP unless their shell access is /bin/bash

Here is an example line that is outputted when I use this command:

This user can access the FTP fine, but he can also access SSH which I don't want to allow him to do. If I set his shell access to /bin/false then he can't connect to the FTP.

What can I use in instead of /bin/bash to allow FTP but don't allow SSH?

View 2 Replies View Related

Programming :: Access Grub Parameters Using Shell Scripts?

Apr 12, 2010

I am setting up my test / development machine with the following scenario in mind : I boot the machine and then select one of a number ( e.g. 3 ) boot options in Grub ( Normally "OpenSuse", "Safe Mode" etc., but in this case "System Restore Dev.", "System Restore Test" ). The only difference between these options are the settings ( e.g. "vga=378" ) in these cases something like "distro=dev" / "distro=test".

In a script run on the booted system I can extract the value of the "distro" parameter ( in this case "test" ) and use it as input for a command line tool. Meaning that name entered as the value for the "distro" parameter is used for loading a file when the system is up and running. The command line tool then restores the partition with the contents of the file and reboots the system.Now, my problem is this : How to I access the Grub arguments? Code snippets ( in shell scripting or python preferbly ) are more than welcome.

View 10 Replies View Related

Ubuntu :: Access MySQL-Workbench From Desktop Without Having To Tie Up My Bash Shell?

Aug 3, 2011

I just downloaded MySQL-Workbench and I see it in the folder: Code: /usr/bin how do I access it from my desktop without having to tie up my bash shell because the only way I can get to it right now is

Code:
cd /usr/bin
mysql-workbench

and only when I close the program can I use my bash for anything else.

View 7 Replies View Related

CentOS 5 Server :: MySQL Shell Access Denied / Get It To Work?

Feb 20, 2011

I'm having a hard time to access MySQL from the local or remote shell.
If I try to access MySQL, using mysql -u root -pxxxx I get the error 1045 Access denied...

MySQL is running and I can access it, using phpmyadmin.

There must be something blocking shell access. Can anybody confirm and tell me how to check/configure for shell access?
I'm using ca preconfigured CenOS from PBX in a flash and it seems they did some security settings - but I can't find any further information.
I know I should probably post there, but the Mods didn't activate my account yet. And you know how it is if you try to figure something out. You won't stop.

View 1 Replies View Related

Debian Installation :: Prevent Grub From Loading Into MBR?

Jan 29, 2010

I want to use my BootIt NG boot menu. How would I go about installing Debian 5.0.3 and prevent Grub from loading into MBR? I don't remember being asked by the installer where to put Grub. Unlike Fedora where you can choose MBR or boot section of the target partition. Debian 5.0.3 -

View 2 Replies View Related

Ubuntu Installation :: Prevent Kernel Upgrade With 10.04?

Dec 6, 2010

I search, and everything I find seems to be "old" information that no longer works.

I currently have,

linux-image-2.6.32-21-generic/lucid uptodate 2.6.32-21.32
linux-image-2.6.32-22-generic/lucid uptodate 2.6.32-22.36
linux-image-2.6.32-23-generic/lucid uptodate 2.6.32-23.37
linux-image-2.6.32-24-generic/lucid uptodate 2.6.32-24.43

[Code]....

View 3 Replies View Related

Ubuntu Installation :: Prevent Installer From Running?

Feb 12, 2011

I have a persistent usb key with Ubuntu 10.10 Netbook remix. I need to know how to stop the installer fro0m running on boot so that it just goes to the desktop

View 1 Replies View Related

Ubuntu Installation :: How To Prevent Package Update

Feb 26, 2011

I've recently downgraded kaffeine to 0.8.8 to get back the EPG which was working under hardy. Is there a simple way to prevent a package from updating when I update the rest of the system? I realise that this is not normally a good idea to keep packages back like this, but the upgrade to kaffeine caused the loss of a useful tool.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved