CentOS 5 :: Non Interactive User - Account Currently Not Available
Jan 11, 2010
I'm still quite wet behind the ears with CentOS/Unix. What I'm trying to do is to setup a non interactive user, where I login with an interactive user and su to the non interactive. I have set the non interactive with /sbin/nologin (through the GUI), but when I login with the interactive user and su to the non interactive user I get the following:
"This account is currently not available".
I am trying to assign a user account on RHEL5 Server a non-interactive login but I am not sure if this is the correct command: useradd useraccount -s /sbin/nologinAfter I issue this command, I try to log in with this account and it says the "Administrator has disabled this account" when I enter the password. Does any one know if the command above is correct?
Any pointers to make a shell script in cronjob or using at to be user interactive. We have a requirement to script a program where it prompts the users in CUI for feedback and capture the output in a text file and act based on the feedback.For eg: At pre-defined time i should prompt the acitve users whether it is ok to shutdown, whose feedback would be captured in a text file. Post which act on the updates in the text file
I have a problem with the Google search box top right corner in Konqueror, when entering search I recieve an error page "Unsupported Protocol" Google asks for ioslave or kioslave. Also when highlighting text on a page and right clicking with the mouse no search option is given. I created a new user and all works as it should for the new user. What is wrong with my user account? I have reset default values in Konqueror setup.
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?
I have a user account which is required to run as part of the operating system and as a service. I am currently attempting to install my companies software on an Ubuntu desktop via wine just for the purpose of finding out if it's do-able.
Is there a way, in Ubuntu, for a user account to be given the local rights assignment to act as part of the operating system and to function as a service in the background?
I am trying to write a perl script which will give an interactive session to a user to execute command on the server. I have written a small script to do this :
Code: !/usr/bin/perl -w use strict; use Net::SSH::Perl; my $host = '192.168.1.1'; my $username = 'user'; my $login_passwd = 'test123';
I recently installed likewise 6.0 on a Ubuntu 10.04 box and I was able to login as a Domain user. However my domain user account is not showing on the "User Settings" panel (I can only see locally created accounts). And if try to change login shell by typing "chsh", then it tells me user "DOMAINusername" does not exist in /etc/passwd.
I recently created a new user account in ubuntu linux, and created a file called xsession so that I can boot directly into xmbc when I log into that account. Is there anyway to delete the home folder for that account. I can view the file but when I try to delete it is says I do not have apporite permisions to delete the file.
I removed the account and deleted the group but it still shows up when I type in the address /home/xmbc
Is there anyway I can delete this file. It also will not let me create any new user accounts is there any way I can fix these prolbems without totaly reinstalling the system.
i cant log out of my user account without shutting down the computer, and no one else can either. computer can't be turned off unless i, (administrator)have logged out, this can't be a default setting surely.
I tried to add a samba user account on an Ubuntu machine called "video" like I had on another Ubuntu machine, but it's telling me it already exists. At one point I had added the user via terminal, but the user did not show up in system-config-samba (the popular samba gui a lot of people use). So now I'm trying to re-add him and it's not working. Likewise, if I use terminal to sudo smbpasswd -x video, it says failed to find an entry for that user.
As far as I can tell, the user doesn't exist - yet I can't add him because it "already exists."
the OEM account was created when I just installed Maverick (10.10) and now I've changed the password on that account and want to create a daily user account, cannot locate where I can do that.I want to learn Linux badly but am completely in the dark beginner right now.
So I was creating a backup user on my Ubuntu machine, and realized that there was already one there. I wanted to have a user account that only had permission to scp data archives to my backup directory. Is there already a mechanism in place via this backup user to do just that? Or does this account have other uses and should be left alone?
I have two Fedora 10 boxes. Both have a user account, Andrew. I use this account all the time.
Now when I put my USB drive (ext3-filesystem) in box I, create a file in it. It works. But when I attach it to box II and try to access the files, it gives me error - Permission denied. I have to use
Quote:
sudo chown -R Andrew
Only then I am able to access the files in it.
When I attach my drive to box I again, it also gives me error - Permission denied. So in both boxes, I have to use
Quote:
sudo chown -R Andrew
first. Otherwise I get Permission denied message.
This means Andrew on both systems is different. How can I make Andrew account on both systems same? So that I can access files on my usb drive without running chown all the time.
two days before I have formatted my / partition and everything seems to working fine. Next day I came to office and try to login as root through ssh. I am getting the error: [sunheer@svn ~]$ ssh root@192.10.10.23
I thought the password were wrong and I rebooted the server in to run level 1 and reset the password and it started to work. Again on next day the account got same problem.his started to happen after formatting the / partition
I have a situation where I am in a non-interactive shell. I have tried from within my non-interative shell to spawn an interactive shell but my output still does not goto me. Isn't there a way I can somehow go into /proc or somwhere and make the output my /dev/tty1? Or some way else to remedy this?The situation arises because I drop from my restricted shell environment (a sort of CLI interface), into the actual Linux shell. I cannot change the code of the CLI environment I am just faced with being in the linux shell environment and its non-interactive. Its very annoying to have to put > /dev/tty1 after every command I type.
Not to mention it seems damn near impossible to get pagers like more and less to work properly when your in a non-interactive shell.
just started using Debian today and I would like to know how can I disable the user acount password, I am the only user on this computer so I would like it to boot strait into my account.
I made the mistake of using the command 'adduser' on an already existing user. I was incrementing a name and mis-typed. Now the account refuses to recognize the users password. The user can get in.
I tried resetting the password as administrator (passwd 'user'), but when the user tries, the new password isn't recognized.
I tried expiring the account password (passwd -e user). The user gets prompted for a new password, but the new password still doesn't get recognized.
I just tried to change a user account by changing its name, password, and home directory. But first I had created a new account with the new name, pass, home directory. I tried to log into the new account but got a dead account. Nothing came up, and it didn't allow anything, complaining about "can't create Nautilus," and other such error messages.
Tried to go into the Constantine login screen and put in "root" and the original password. "Invalid Use..." Tried "root" with the new pass. "Invalid..." So what can I do at this point to get in and create a nice, clean, new account (with admin privs) for the new user?!