Fedora :: Passwordless-ssh Works - But Not After Su To User?

May 11, 2011

I have key-based authentication working for one user on a cluster--

Code:
user@thisnode > ssh user@othernode
last login blah blah blah..
user@othernode >
but if I switch to that user and try it, I get an error--

[Code]...

View 2 Replies


ADVERTISEMENT

General :: Passwordless Login In Using Ssh Via Non Root User?

Feb 12, 2010

I have been trying to establish a connection between two pcs via the ssh channel. I successfully made the connection as a root user, but when i tried as a non root user i had to type in the password the make contact with the other pc. how exactly does this passwordless login actually work?

View 3 Replies View Related

CentOS 5 Networking :: Comfortable User Managment With Passwordless Ssh?

Jan 27, 2011

we are running a small cluster (CentOS 5.5) for research in fluid dynamics, using OpenFOAM and Fluent togehter with Sun Grid Engine. For these programs, ssh without password prompt in console is required. So far, I did the method described here: [URL]... with keys distributed at each node. However, imagine a new users needs to be created:

1. Creating user at every node.
2. Create key at every node
3. Distribute key to every node

Makes password prompt threetimes, for 50 nodes - quite a lot. The students dont like that really much, me neither. What I am asking for is any help to make this more comfortable. I am not really a system admin, but more a researcher with some knowledge in admin tasks. Actually, I would like to use a ldap authetication, were passwords are stored centrally. When the user first logs in to a machine, the home directory should be created. I think I can manage it to work.

[Code]...

View 7 Replies View Related

Fedora Hardware :: Touchpad Only Works On An User?

Aug 21, 2010

After update dbus-glib-0.86-4.fc13 [URL] the touchpad stopped working for the my session(user) I created another user to test and it is working ...

fedora 13 gnome

View 2 Replies View Related

Hardware :: Audio Fedora 12 As A Normal User But Works As A Root?

Sep 14, 2010

I'm using fedora 12 and modified the user login options(normal and super user login). I've been using the accounts for a while but i've bumped into a problem - audio not working as a normal user but works when logged in as root. Also, i'm not able to use VLC as a root user.

View 1 Replies View Related

Red Hat / Fedora :: Passwordless Login Using SSH?

Sep 2, 2010

How can I configure ssh to do the passwordless logins between the users in a Linux server?I am using RHEL4.6 version. I have created some users in this server and I would like to login from one user to the other users in the same server without a password prompt by using SSH. I was using rsh for this purpose before, but since it is against our security policy , I have to switch to SSH.I have done the ssh configuration by creating the keys and copying the public keys to the file .ssh/authorized_keys of the other users in the same server.But unfortunately still I am not able to login to other users in the same system WITHOUT a Password.I did the following settings.From user1:

mkdir ~/.ssh
chmod 755 ~/.ssh
/usr/bin/ssh-keygen -t rsa

[code]...

View 1 Replies View Related

Ubuntu :: SSH X Forwarding Works For Main User, Not For Secondary User?

Oct 24, 2010

I can SSH to my own box using "ssh -X arancaytar@localhost" and run graphical applications. When I try the same using "ssh -X chris@localhost", I get an error message saying

Code:
chris@enki:~$ gedit
X11 connection rejected because of wrong authentication.

[code]....

View 4 Replies View Related

Server :: PRNG Not Seeded - Works With 1 User But Not A /chroot User

Jun 28, 2010

I installed SSH-keygen dependancies for a /chroot user.

I can now execute ssh-keygen from the /chroot user BUT I receive a message PRNG is not seeded.

When I do it from any of the users that are not /chroot users, it works fine.

View 2 Replies View Related

Red Hat / Fedora :: Receive Error Code 255 Using Passwordless SSH?

Jun 14, 2011

I am trying to set up passworldess login - I am trying to automate ssh to use send commands from a Red Hat el5.2 server to a solaris 9 server (I did get it working from solaris 10-9).I have ran ssh-keygen -t rsa and then the ssh-copy-id and i can login passwordless via ssh. N HURRAH

Unfortunately when I use my scripts to automate the commands I ALWAYS receive an "Error Code - 255" - the command is successfully sent.

View 3 Replies View Related

Debian :: Why $http_proxy Only Works For Root User In Apt-get

Feb 24, 2010

I just setup a debian OS(in emulator) and trying to use apt-get update. When I log in as root and do:

export http_proxy=http://proxy.com:9090
apt-get update   works

If I use another user and ssh to this debian, sudo apt-get update will fail to work because it don't use the proxy. I try to do the export http_proxy stuff again but still not working. echo $http_proxy showing it already set correctly...

p/s:
I have a workaround by adding this lines in the apt.conf
ACQUIRE {
http::proxy "http://proxy.com:9090"
}

but I really don't want this solutions because I want to easily disable the http_proxy in command prompt (by unset it).

View 1 Replies View Related

Software :: Vi/vim Works For Root But Not For Regular User?

Oct 14, 2010

If I log in as root I can vi/vim a file with no problems. When I log in as a regular user I get the following error when I try to vi/vim.

[Code]...

Why does vi/vim work as root and not a regular user? Also what rpm's can I install to get it working?

View 2 Replies View Related

Ubuntu Multimedia :: Webcam Only Works For Default User?

Feb 1, 2010

On a PC with 4 users (Karmic), I have installed a webcam. Everything (cam and mic) works for the default user. Cam works in cheese. For the 3 other users, there only are a "testpicture" in cheese and no mic . ???

View 4 Replies View Related

Ubuntu :: 10.04 Lucid - Samba Only Works For Root User?

Jul 17, 2010

I'm new to Ubuntu and I'm pretty sure I'm just missing something simple. I want to use Samba to share my raid array to all of my machines, so I have...Installed Ubuntu and created a single user: mattMounted my ext4 raid set with fstab:

Code:
UUID=78d85398-d179-4640-bb1b-f770ba90abb1 /media/Data ext4 defaults 0 0
Installed Samba (real Samba, I haven't touched the Nautilus-Share right-click thing):

[code]...

View 1 Replies View Related

Applications :: Program Works As Root But Fails As User

Jan 21, 2010

I can't get a program (wbar) to run directly from my user account, it fails saying "Image not found -> maybe using a relative path?". But if I run su -c "wbar", it shows up and manages to load the image. I think it has something to do with ImLib2 or whatever loads the image. I checked permissions on libImlib2.so.1 and it's world-readable and executable. Can libImlib2.a be causing this problem, set to 644? What else should I be checking?

View 2 Replies View Related

Ubuntu :: 10.04 - Truecrypt File Only Works On Admin User

Sep 14, 2010

A regular (non admin) user can create a Truecrypt 7.0a file, but it can't be mounted. The admin password is refused. If you try the regular user password, the error is that you are not on the sudo list.

View 1 Replies View Related

Debian Configuration :: Ping Fail As User Works With Root?

Oct 13, 2010

I have a very strange problem.ometimes, yes sometimes not all the time, I get a Destination Host Unreachable when I ping a computer on my network. If I switch to root using su I can ping that same computer. Here is a screen shot:

joseph@laptop:~$ ping 192.168.1.14
PING 192.168.1.14 (192.168.1.14) 56(84) bytes of data.
From 192.168.1.9 icmp_seq=2 Destination Host Unreachable

[code]...

View 1 Replies View Related

Ubuntu Multimedia :: Karmic: Sound Works For Root But Not For User

Feb 7, 2010

I cannot find a post that matches this scenario...the id created during the install (from CD) of Karmic has fully usable sound. However, users created from the Users and Groups app do not.

I have made sure that all users are defined to the audio, pulse, pulse-audio, and pulse-rt groups. No luck.

I have followed every step I have read having to do with the alsamixer. No luck.

I have verified that alsa and linux itself are at the latest versions.

View 9 Replies View Related

Ubuntu Multimedia :: Chmod For Raw1394 So Capture Works For User?

May 11, 2010

For some reason I can't connect my JVC MiniDv camera in kdenlive (or kino) until I run this script in terminal

Code:
sudo chmod 666 /dev/raw1394

but it needs re-entering each time I reboot my PC.

How can I make this access permanent?

View 4 Replies View Related

Ubuntu Servers :: Open Sshd Ssh-key's Only Works After A User Loged In?

Apr 16, 2011

I have keys set up on ubuntu server 10.10 When I issue "It failes for publickey"

Code:
ssh -i ~/.ssh/id_rsa USERNAME@MYSITE -v
Code:
skip...
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey

[Code]....

View 2 Replies View Related

Slackware :: Kuser Stopped Working For 1 User But Still Works For 2 Other Users?

Feb 24, 2011

Kuser no longer works for 'rob' but still works for 'robert' & 'root'. It launches (i.e. the cursor bounces up & down and a Kuser box appears in the task bar) but the Kuser screen never opens. Finally, the bouncing cursor disappears as well as the Kuser box in the task bar.

View 1 Replies View Related

Ubuntu :: GDM Login/switch User Screen Blank - Autologin Works

Jan 5, 2011

I've run into a strange problem with GDM that I haven't managed to find a solution for yet, either by trying myself or googling, and I have run out of good ideas. I'll just infodump here about the problem and what I've tried etc;

I installed Ubuntu on a new PC a few weeks ago, setting it up with autologin for my mom and a separate user for myself, using the on/off-icon menu in the top-right corner to switch to my own user and back as needed, and logging the user out when done. This worked quite well.

However, a few days ago, this stopped working; logging out or trying to switch now leaves me with a blank black screen, without even a mouse pointer (but not off, the backlight is on).

EDIT: To clarify, this is an issue that only affects the GDM login screen, but that affects it whenever it is used, wether it is on boot (when not set to autologin), after logging out, or when trying to switch user.

At this point, I can usually use Ctrl-Alt-F1 to get a textmode login, and Ctrl-Alt-F7 to get back to the auto-logged in session (assuming I tried to switch, not logout).

I can't think of anything specific I did or installed around then that should be related in any way...

I tried disabling autologin and restarting gdm, which left me with the same black screen (which is still there after rebooting), instead of the expected login window. I managed to re-enable autologin by manually editing the /etc/gdm/custom.conf file, so that it would at least work for mom.

I've also tried to change which user is auto-logged in, thinking it might be a problem with my user account, but both users get an automatic session just fine when I restart gdm.

I thought it might be a problem with the video driver, but that's not the case - if I run zenity --info as root with DISPLAY set correctly, the dialog box appears on the screen just fine. It has no borders or titlebar (there's no windowmanager), and is apparently without keyboard focus, so since there's no visible mouse pointer I can't click the OK button... But since it appears, X is apparently up and running just fine, just has nothing to display other than a black background.

I tried purging and reinstalling gdm and gnome-session(-bin|-common), but that didn't help any.

Running ck-list-sessions after trying to switch indicates that there's a new session there, with session-type = 'LoginWindow', so it appears to think everything's fine.

Enabling debug output in the /etc/gdm/custom.conf file did get me some more debug output in the gdm logs, but it didn't really tell me anything, there weren't any obvious problems that I could see.

After some looking around, I've guessed that it's supposed to be running gdm-simple-greeter, which I assume would display a login box; trying to run it manually doesn't work though (it's missing some environment variables, and trying to add them based on the abovementioned debug output doesn't really help).

View 9 Replies View Related

General :: Passwordless Ssh Without Ssh Keys?

Apr 27, 2011

I'm in my terminal and do git pull, git push alot in a work day. On the server I'm pulling and pushing I can't do password less ssh the usual way by generating rsa keys.Is it still possible perhaps for me to enter my password once for a session and do all the git pulls/pushes I want?

View 1 Replies View Related

General :: Passwordless SSH To The Same Host?

Jun 12, 2011

I am trying to run OpenNebula on a set of 2 machines. One of the machines(called host1) must be able to access the others(including itself) with passwordless ssh.Both machines have the same user and use mounted folder from host1 for home directory(exported with NFS). So single key generation should be enough for this configuration - all the machines have access to the same .ssh folder.What I am getting at the end is passwordless ssh from host1 to host2 which is great, but no success from host1 to host1. Host2 to host2 is also OK, host2 to host1 wants password like host1 to host1.Both machines have the same sshd_config and ssh_config files.File permissions required by ssh should be correct since it works for host1 to host2.The only difference(I see) between the machines is that host1 runs nfs service, so host2 has access to the exported folders.

The ssh-keygen is executed on host1authorized_keys has the same public key two times(to authorize access for host1 on host1 and host2).The distro is Scientific Linux 6.0 aand I also use rsa.Something else - no pass ssh with another user from host1 to host1 works, so I suppose the problem comes from this mounted folder.

View 4 Replies View Related

CentOS 5 :: Cannot Get Passwordless Ssh Working?

Aug 13, 2010

I can ssh with password ok but after doing the whole key generation procedure at [URL].. section 7, it still prompts for a password. Here is the output:

[root@apvdbs03 log]# ssh -v root@aapxen01
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to aapxen01 [10.0.1.20] port 22.
debug1: Connection established.

[Code]..

View 5 Replies View Related

Security :: Ubuntu 10.10 Is Not Allowing Amin Privileges To Admin User, Even Tho Sudo Works?

Feb 21, 2011

i am relatively new to ubuntu. Just recenty i have not been able to access certain files(for example the history and bookmarks in the firefox folder), download files individually from the internet(music,fonts,etc), recieving an error message

Quote: Originally Posted by firefox error console

Error: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFileOutputStream.init]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: file:///usr/lib/firefox-3.6.13/components/nsSessionStore.js :: sss_writeFile :: line 2944" data: no][code]...

i have sudo priveleges and can install via update manager. i read somewhere that compizfusion might affect access permissions and i do use compiz and emerald at the same time.

View 9 Replies View Related

General :: Achieve Passwordless CVS Updates?

Aug 19, 2011

I'm working on some code from my computer at home and would like to do CVS updates to a remote server. When I'm at work I don't need to type in a password, but at home each time I need to type in my password each time I do a CVS update. I've followed the instructions here on how to set up a passwordless public/private ssh key pair: [URL].. However, after that I still need to type in my ssh password each time I do CVS update (or anything CVS related) from my local computer.

View 1 Replies View Related

Ubuntu Servers :: Can't Get Passwordless Ssh To Work

Feb 3, 2010

I followed the steps here: [URL]

It works fine, except every time I try to do something that requires authentication of the key, I have to type in the password in a prompt that looks like this:

Code:
$ git pull
Enter passphrase for key '/home/<user>/.ssh/id_rsa':
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 9 (delta 7), reused 0 (delta 0)
...

This is very annoying. How can I have it so I don't have to enter my password each time?

On my local machine I followed the same instructions and don't have to enter the password every time...

View 4 Replies View Related

Ubuntu :: SSH Passwordless Ssh For Hadoop On Server?

Feb 24, 2010

I have for a while been trying to setup ssh so hadoop can ssh without a password to all it's nodes. (Currenly 2 nodes)But i can not get the ssh to login without either asking for a password or just getting access denied (public key)I have been following two guidesFirst:Setting up SingleNode ClusterThen after:Setting up Multinode ClusterI have also done various ssh tutorials on setting up ssh.I got to the point where i do the command bin/start-dfs.shThen it begins asking for passwords. Which it should'nt.The problem is that ssh is not setup correcly.And whatever i try i get problems with logging in.the computers are called.

hadoop1.utoft.be (Namenode and JobTracker)
hadoop2.utoft.be
hadoop3.utoft.be

[code]....

View 2 Replies View Related

Ubuntu :: Setup Passwordless Ssh/scp For Some Servers On A LAN?

Feb 9, 2011

I am running Ubuntu 10.04 (OpenSSH_5.3p1 Debian-3ubuntu3, OpenSSL 0.9.8k 25 Mar 2009) I am trying to setup passwordless ssh/scp for some servers on a LAN I am running the following commands:

Code:
ssh-keygen
ssh-copy-id user@<ipaddress>
ssh-add

I added the last step as the following error prevented logins:

Code:
agent admitted to failure to sign using the key After running ssh-add, i still get the error(agent admitted to failure to sign using the key) but passwordless ssh/scp works. The following is the output of user@localmachine:~$ ssh -vvv remote@10.0.7.112

[Code]...

View 1 Replies View Related

Ubuntu Networking :: Using 2 PCs To Run Parallel (passwordless Ssh Without IP)

Feb 18, 2011

I want use two computer to run OpenFOAM or Fluent software.These two computers are connected via a cross cable. I have access to another by "ssh maysam@192.168.1.1" OR "ssh 192.168.1.1" The problem is i should have access to another PC by "ssh maysam-desktop" command which can run parallel. maysam-desktop is name of anothe PC and maysam is name of its user.

View 1 Replies View Related







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