Debian Configuration :: NIS User Not Allowed Because Shell Does Not Exist

May 6, 2011

I have two machines running SQUEEZE, both installed and configured within the same week (not simultaneously). Both get the users info from a NIS server. In one of the machines (named "corona"), users cannot login, neither locally nor by ssh, in the other one ("xxlager") there is no problem. Both mount the users home directories by NFS. I have not found much useful info in the web. /etc/passwd, /etc/group/, /etc/shadow, are equally configured. The only difference I have found is when I use getent. Using "getent passwd isaenz" on xxlager yields:

isaenz:x:1001:1001:User Name,,,:/home/isaenz:/bin/tcsh
but on corona the result is
isaenz:x:1001:1001:User Name,,,:/home/isaenz:
so the shell info is empty.
Checking /var/log/auth.log I see a message saying:
"User isaenz not allowed because shell does not exist"

But "ypmatch isaenz passwd" returns complete information for isaenz, both on xxlager and corona.

View 3 Replies


ADVERTISEMENT

Fedora :: User Shutdown Not Allowed As Shell Does Not Work Using SSH

Oct 1, 2010

I try to shutdown a box running Fedora (fc12, all updates applied) remotely. From various threats I selected the following way that suits best to my needs: I edited the entry for shutdown in /etc/passwd:
shutdown:x:6:0:shutdown:/sbin:/usr/bin/sudo /sbin/shutdown -h +1

Logging in from a tty with shutdown gives the desired result: The computer does the shutdown. Then I tried the same using sshd and plink:
plink -t -l shutdown -pw xxx 10.0.0.123

As a result I get:
Using username "shutdown".
Access denied
Access denied
shutdown@10.0.0.123's password:

The /var/log/secure shows the following entry:
Oct 2 00:40:46 rotgschirr sshd[6841]: User shutdown not allowed because shell /usr/bin/sudo /sbin/shutdown -h +1 does not exist
Oct 2 00:40:46 rotgschirr sshd[6846]: input_userauth_request: invalid user shutdown
Oct 2 00:40:46 rotgschirr unix_chkpwd[6847]: password check failed for user (shutdown)
Oct 2 00:40:46 rotgschirr sshd[6841]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=rotgschirr.totes-gebirge user=shutdown
Oct 2 00:40:48 rotgschirr sshd[6841]: Failed password for invalid user shutdown from 10.0.0.123 port 37195 ssh2
Oct 2 00:40:50 rotgschirr sshd[6846]: Connection closed by 10.0.0.123

Somehow when using ssh the shell /usr/bin/sudo /sbin/shutdown -h +1 cannot be found.

View 5 Replies View Related

Debian Configuration :: No Longer Allowed To Access The System Configuration

Jul 31, 2011

I am using Squessze and Gnome. When I try to use the gui System>Administration>Network or Users and Groups I get the error The configuration could not be loaded. You are not allowed to access the system configuration.Everything was working before. I read around a bit. In some cases,it was caused by mismatching group and password files after using the gui. I do not know how to check if they are matching. Of course I do not know for sure that is the problem in my case.

View 14 Replies View Related

Software :: Access Denied : User Admin Is Not Allowed To Use The Webmin Configuration Module?

Apr 14, 2010

I keep receiving the error message in the title above whenry to enterebmin.abc.com/webmin. I'm on Ubuntu 9.10. Other errors I'll receive are "You do not have access to any Webmin modules". Wondering if anyone knew what settings our permissions on files I could change to avoid these error

View 1 Replies View Related

Debian :: Configuration Could Not Be Loaded - Access Not Allowed

Apr 17, 2010

I have recently installed Debian 504 AMD64, when I try to access "System" --> "Administration" --> "Users and groups" logged in as root, I get the following message:
"The configuration could not be loaded. You are not allowed to access the system configuration."
The system does not even ask for a password and the result is the same if I log in as a normal user.

I have installed from a single ISO DVD downloaded from the internet and read the DVDs of my previous Debian distro to install packages not included on DVD 1 of Debian 504 although I do not think this unusual approach can have any effect on the installation. I suspect I'll have to boot in single user mode but I have never done any troubleshooting at the command line.
(/etc/passwd and /etc shadow look OK).

View 3 Replies View Related

Debian Configuration :: Icedove Doesn't Seem To Exist

Apr 11, 2016

I have had to revert my VM to a previous image (did something to screw it up) anyway I have to reinstall icedove into my VM and I noticed after doing: sudo apt-get update && sudo apt-get install icedove that icedove can't seem to be found in the libraries anymore and simply wont install.

View 14 Replies View Related

Server :: Rsync Using Www As User Gives Ssh Error - User Www Not Allowed Because Account Locked

Feb 11, 2011

Apache is run as www as is all the files/folders. People are uploading via FTP, scp, so the problem is if I chmod so everyone can read, then rsync as a user it works until new files are added which then my ; if rsync fails with a permission denied. Now I can add a chmod in the script so everyone can read, but since www can already read, I figured I would just change my script to use www. I added the ssh key to his authorized_keys file, but when I try to just ssh in I see this in the secure file;

server sshd[29539]: User www not allowed because account is locked
sshd[29539]: Failed none for invalid user www from ip port 54983 ssh2

Now I read a few places already saying I need to add a password to the account, etc. but before I jump and try all I read, 1st major one, will this now break apache? Will this affect any startup things, etc. and .... will that unlock that user for ssh in or is there another preferred method?

View 6 Replies View Related

Fedora :: How Does One Set An Allowed User To Print

Feb 19, 2011

I have a Macbook Air that I want to print to a computer running Fedora or another running Ubuntu, where each has a connected printer. Both printers are shared. It seemed that, since all three computers run CUPS, you would think it was a no brainer to set up printing. Maybe my brain's too small. Would some one get me out of my misery? Where does one start? The Air's already set to "sharing printers".

View 3 Replies View Related

Debian Configuration :: Show MAC And IP In Realtime From Shell?

Dec 28, 2015

What command to show MAC and IP of any computer conected in realtime?

View 9 Replies View Related

Debian Configuration :: Can't Use /bin/false As Shell For FTP Users?

Feb 2, 2010

I have vsftpd installed on my Debian (squeeze). I wish to let a local user (ftp) access the FTP server, but not login as normal user through SSH. In vsftpd.conf, I have enabed local user and chroot. I have also changed the shell of the local user (ftp) to /bin/false. The problem is that, I cannot login the FTP server from another computer (I login as "ftp" on a Windows machine). But when I change the shell of the local user (ftp) to /bin/sh, I can login the FTP successfully.

Is this the problem of Windows, or I should use something else instead of /bin/false if I want to prevent "ftp" login service other than FTP?

View 8 Replies View Related

Debian Configuration :: File Colours In Shell

Aug 17, 2010

Does anyone know how to make the file colours appear different for each file type in the shell like happens in ubuntu?

View 4 Replies View Related

General :: Shell Script Does Not Exist?

Jul 11, 2011

c@c-laptop:~$ locate /.bashrc
/etc/skel/.bashrc
/home/c/.bashrc
/root/.bashrc

I need to edit /home/c/.bashrc

However when I go to place> Home folders to go to /home/c , the file is not there.

What should I do to make the file appear so that I can edit it?

It is obviously a system file.

View 14 Replies View Related

Debian Configuration :: How To Modify Source.list From Shell?

Jan 27, 2011

how can i manually modify source.list to include debian repository from shell.since xorg isn't installed yet and the cd doesn't work well.

View 5 Replies View Related

Ubuntu :: Dev Sda3 Does Not Exist. Dropping To A Shell?

Feb 14, 2011

I have search and there is similar topic but for 9.10 and the problem contains "UUID" [URL]I was wondering if the fix listed there will help my problem.

View 1 Replies View Related

Fedora Security :: Why Is Httpd Allowed To Start Binded To Port That's Not Explicitly Allowed?

May 28, 2010

While reading some papers on securing apache with selinux, I have tried to bind httpd to port 3000 expecting to be blocked by the selinux, since port tcp 3000 isn't on the http_port_t list. However I was able to start the service...

I'm preety sure selinux is enforcing. Also, if I bind httpd to tcp 81 selinux denies the start of the service, as expected!Did I miss something? Why is httpd allowed to start binded to a port that's not explicitly allowed?

View 12 Replies View Related

Debian Configuration :: Change Prompt Color In Bash Shell?

Jan 13, 2010

I am getting more and more comfortable working with the shell, thus I would like to change its prompt color to my liking, as it will be easier for me to distinguish commands vs. outputs.

I've read a couple of instructions of how to change the .bashrc file and am familiar with what the codes in PS1 mean. Except, this file can be intimidating to newbie eyes.

Where exactly on the file is it that I need to make the change?

Here is what I am trying to do. I would like my prompt to like exactly like the prompt I use in Backtrack - which consist in two different colors, one for the host and another for the pwd. Here is what the Backtrack .bashrc file looks like:

# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.
# Set the values for some environment variables:
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man:/usr/local/share/man:/usr/bin/man:/usr/share/man
export HOSTNAME="`cat /etc/HOSTNAME`"

[Code]....

I also read that in order to have the same results when I log in as root, I will have to copy the modified .bashrc file into /root

View 8 Replies View Related

Server :: Apache 2.2 Configuration - Arbitrary Domains Redirection Allowed

Oct 20, 2010

I try to fix bugs on my web server. The remote web server allows redirects to arbitrary domains. Description : The remote web server is configured to redirect users using a HTTP 302, 303 or 307 response. However, the server can redirect to a domain that includes components included in the original request. A remote attacker could exploit this by crafting a URL which appears to resolve to the remote server, but redirects to a malicious location.

View 1 Replies View Related

Ubuntu :: Alert /dev/sdh1 Does Not Exist. Dropping To A Shell?

Jun 17, 2010

I have a 64 bit ubuntu 9.10 / 64 bit windows 7 dual boot setup, each installed on different drives.Everything worked fine for weeks, but after booting into windows for maybe the third time, when I tried to boot back into ubuntu, the splash screen and xwindows failed to start, dropping me to a terminal to log in.After rebooting a few more times to see if i could wish the problem away, some kind of fix/recovery screen came up and gave me the chance to try to update/repair installed packages, which I took.Now, when I boot, I get:

ata_id[428]:HDIO_GET_IDENTITY failed for '/dev/.tmp-block-8:80'
ata_id[427]:HDIO_GET_IDENTITY failed for '/dev/.tmp-block-8:64'
usplash: Settomg ,pde 1152x864 failed

[code]....

View 9 Replies View Related

Ubuntu :: Alert! /dev/sbd2 Does Not Exist. Dropping To A Shell!

Nov 17, 2010

I installed ubuntu netbook 10.10 on my acer aspire one with the "install inside windows" option. The first time it booted into ubuntu properly and completed the installation, then it automatically restarted and now when I try to boot ubuntu, I get the following error message:

Code:

Gave up waiting for root device. Common problems:

- Boot args (cat/proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules(cat/proc/modules; ls/dev)
Alert! /dev/sbd2 does not exist. Dropping to a shell!

View 3 Replies View Related

General :: Root User Must Not Be Allowed To Directly Login To Service Console?

May 12, 2011

I want to set security regarding with the root user. The root user must not be allowed to login directly to the service console, how will I do this?

View 4 Replies View Related

Ubuntu Installation :: Root Disk Does Not Exist - Dropping To Shell

Oct 13, 2010

Just tried installing Ubuntu 10.10 from a USB device on my Windows 7 machine but something goes wrong. Far into the installation the computer restarts, asks me which operating system I want to start (it had already done this once before) and I choose Ubuntu. Then I get three alternatives:

Ubuntu, Linux 2.6.35-22-generic
Ubuntu, Linux 2.6.35-22-generic (recovery mode)
Windows 7 (loader) (on /dev/sdb1)

I pick the top choice, and get the following message:
ALERT! /host/ubuntu/disks/root.disk does not exist. Dropping to a shell.

If I start recovery-mode i get the same message. There's some text above the message that reads "new low speed USB device using ohci_hcd and address"... Could there be a problem with the usb-drive? If I remove the USB drive I get the message: Gave up waiting for root device.

View 2 Replies View Related

General :: $HOME/.bashrc Disabled When User Shell Is 'rbash' (restricted Shell)?

Jun 15, 2011

MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.

View 2 Replies View Related

Debian Configuration :: Invalid User Using SSH

Nov 26, 2015

I just installed Debian Jessie (3.16.0-4-amd64) on a desktop box I intend to use as a server in our home office. During installation I included the web server and SSH server options. I have a user account, 'mitchell' set up in addition to root. Everything is working great except that I am unable to log in via SSH from other machines, such as a Windows desktop also on the office LAN (using PuTTY). From the PuTTY terminal it looks like the user name is accepted because the password is requested, but after entering the password it says "Access denied".

Back on the Debian box in I see:

Code: Select allNov 26 14:12:02 DebianDevP6TSE sshd[2278]: Invalid user mitchell from 192.168.1.96
Nov 26 14:12:02 DebianDevP6TSE sshd[2278]: input_userauth_request: invalid user mitchell [preauth]
Nov 26 14:12:07 DebianDevP6TSE sshd[2278]: pam_unix(sshd:auth): check pass; user unknown
Nov 26 14:12:07 DebianDevP6TSE sshd[2278]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=rmbiserv.attlocal.net
Nov 26 14:12:10 DebianDevP6TSE sshd[2278]: Failed password for invalid user mitchell from 192.168.1.96 port 60010 ssh2

So I am guessing I need to set up either the SSHD server, or maybe something in PAM, to authorized users for SSH access?

As a note, "mitchell" is the user name I use to log on to Debian, and I am entering the same user name and password when trying to log in via SSH.

If I try to log in via SSH as "root" I get the following in the log:

Code: Select allNov 26 14:17:01 DebianDevP6TSE CRON[2329]: pam_unix(cron:session): session opened for user root by (uid=0)
Nov 26 14:17:02 DebianDevP6TSE CRON[2329]: pam_unix(cron:session): session closed for user root
Nov 26 14:29:59 DebianDevP6TSE sshd[2383]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=rmbiserv.attlocal.net  user=root
Nov 26 14:30:01 DebianDevP6TSE sshd[2383]: Failed password for root from 192.168.1.96 port 60132 ssh2

View 6 Replies View Related

Ubuntu :: 'gdm' User Does Not Exist

Oct 3, 2010

I installed Ubuntu 9 on my kids' computer a while back and usually the computer boots up and goes directly into Ubuntu. However, this morning when they booted it up, the following error message displayed: "The GDM user 'gdm' does not exist. Please correct GDM configuration and restart GDM." It seems that they had inadvertently messed up some configuration files. After pressing 'OK' it asked me for my user name and password, which I supplied, but that didn't work either. So, either I've forgotten my password or my kids seriously messed up their computer, so much so that I can even work with it in command line. I was thinking about simply reinstalling Ubuntu and possibly updating to version 10, but I'd rather not lose the files on the computer. Thus my question: Does anyone see a way of not losing my and my kids' files while getting back into Ubuntu?

View 1 Replies View Related

CentOS 5 :: Gdm User Does Not Exist?

Nov 6, 2009

In my system(CENTOS) displays the "gdm user does not exist". I cannot typing any word except username and password. Try all virtual terminal but failed. and also try to connect the ssh but I can't.

View 1 Replies View Related

Ubuntu Installation :: Netbook Via Wubi / Error Alert /dev/sda2 Does Not Exist Dropping To A Shell?

Feb 10, 2011

my laptop doesnt have any cdrom drive and all usbs are broken so wubi is my only option. oh and i use win 7 starter. i tried to install netbook edition to my laptop but i always get error. i can install with only "acpi workarounds". i dont even understand what it is the error and why i'm getting this error.

error is

Quote:

Gave up waiting for root device. Common problems:
-Boot args (cat /proc/cmdline)
-Check rootdelay= (did the system wait long enough?)
-Check root= (did the system wait for the right device?)
-Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/sda2 does not exist. Dropping to a shell!

BusyBox v.1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash) Enter 'help' for a list of built-in commands

(initramfs)

View 4 Replies View Related

Debian Configuration :: Wireless Only For Main User?

Mar 24, 2010

I don't exactly know what happened but for some reason only the main user has access now to the networkmanager and is able to connect to internet. If I switch to another user, the networkmanager reports no connectivity and the PCMCIA card dies. Does anyone know what to do? It seems like an access feature, related to permissions or something.

I checked but the user is added to the netdev group...

View 1 Replies View Related

Debian Configuration :: Can't Add Samba User Password?

Aug 24, 2010

I'm running sid, reasonably updated. I decided to add a samba share. I installed samba (2:3.4.8~dfsg-2), samba-tools, smbclient, smbfs, & samba-client. I did a "/etc/init.d/samba start" and even rebooted. But when I try to add a samba password for my regular user I can't.

# smbpasswd -a praxis
bash: smbpasswd: command not found
I did a "locate smbpasswd" but I'm only seeing:

[code]...

View 3 Replies View Related

Debian Configuration :: FTP Users Do Not Have Access Via SSH, Only User ID?

Oct 23, 2010

It looks like my web/ftp server has been hacked but I'm not sure how. I logged in tonight and found I had new mail. I read it and found some e-mails that had failed to send because I don't have mail setup (luckily). The e-mails were trying to send my user name and password to the e-mail address lostsoul2k@ymail.comI've no idea where to start, I use SSH, FTP now and then and it hosts a Wordpress site. The FTP users do not have access via SSH, only my user ID. However, the e-mails also contained another user ID that only has FTP access to the server.I've looked through the logs for rkhunter but it doesn't look like it found anything.

View 11 Replies View Related

Debian Configuration :: User Access To A USB Stick?

Oct 30, 2010

This is a perennial problem with Linux. I am just not comfortable moving a lot of casual files around as root. How can I have user access to a USB stick? I've done my Google searches and tried several methods, some of which work temporarily but not permanently. At the moment, I have this line in my /etc/fstab: /dev/sdd† †/media/usb_flash† ntfs† noauto,users,rw,umask=0 0 0
As with other methods, this worked last week but not now.

All I want to do is insert a USB stick, transfer some files and remove the stick. I want to do this as a user. This should be simple. What is the trick?

View 5 Replies View Related







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