login without password


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers login without password
# 1  
Old 04-20-2009
login without password

is it possible to login into root user or any user in fact and the system wouldnt prompt u for a password ..ala windows style of login
# 2  
Old 04-20-2009
not sure what you are looking for, but check if SSH keys is what you want
# 3  
Old 04-20-2009
Quote:
Originally Posted by Yogesh Sawant
not sure what you are looking for, but check if SSH keys is what you want

thanks for the reply yogesh ....but i think i did not clearly explain what i wanted ...well actually i have a stand alone system ..and all i wanted was a simple login into the system ....u know

user:root
password:*********

...was there a way where i could disable the prompt where the system ask the password of root user.
i.e. a simple password less login into the system ......i actually cant ssh into another machine since its not connected to any other machine
# 4  
Old 04-20-2009
There is no way to disable the logon prompt in unix.

Out of curiosity, why would you want to build a unix box and not connect it to a network?

--Robert
# 5  
Old 04-21-2009
lol actually its standalone ..coz i use it to educate myself ...as in im still learning linux/unix basics...since it wasnt connected to the network ...i wanted to disable the password prompt and not the logon prompt ....ok let me explain what i want a bit more in detail...

i wanted to login with the root user without the system asking for its password...i know its a bit trivial ...but is it still possible?..

username:root

[root@localhost.com~]#
# 6  
Old 04-21-2009
you can do this. just blank the second field for that user in the /etc/passwd file. e.g. root:blah:0:20::blah:/blah/sh becomes root::0:20::blah:/blah/sh

Smilie
# 7  
Old 04-21-2009
cheers it works Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Password less login for sftp

Hi, I am using public key authentication for login into a remote sftp server (password less login). so i have set up a password less login according to this link . i have copied the content of my .pub file to remote server's authorized_keys2 file. i want to find out whether my .pub file... (2 Replies)
Discussion started by: Little
2 Replies

2. Solaris

Direct login without password

Hi, I am trying to setup direct login from server test1 (Solaris 10) to server test2 (Solaris 9) using id taops (ldap id). Process Followed on Test 2. created .rhosts file in home directory of user taops geneted public key on test1 and appended to authorized keys on test2. Now trying... (8 Replies)
Discussion started by: tuxian
8 Replies

3. Solaris

How to prompt for the new password during the first login

Hi All, I have created a new user. Using the below command I have created the user successfully. useradd -c "Test user" -d /tmp/test -g Testgroup -s /bin/ksh -u 601 Test I don't want to set the password using “passwd” command after creating a user. I want to prompt for the new... (2 Replies)
Discussion started by: kalpeer
2 Replies

4. Solaris

SSH Password-less login fails on password expiry.

Hi Gurus I have a few Sol 5.9 servers and i have enabled password less authentication between them for my user ID. Often i have found that when my password has expired,the login fails. Resetting my password reenables the keys. Do i need to do something to avoid this scenario or is this... (2 Replies)
Discussion started by: Renjesh
2 Replies

5. UNIX for Dummies Questions & Answers

login password....

i forgot my login password,in solaris 9 how to get it. (1 Reply)
Discussion started by: venkatramana
1 Replies

6. UNIX for Advanced & Expert Users

login & password

I bought a pentium 2 (office auction) for my country home. When I turned it on it had Unix. It asks me for a login and password. I don't have these and since I don't know Unix I want to reformat the drive or at least be able to install Windows. I can't get past the Login and password promt. Anyone... (8 Replies)
Discussion started by: cab
8 Replies

7. UNIX for Dummies Questions & Answers

Password change at login????

I want Red Hat Linux 7.2 prompt for new password at next login time. How can I do this????? passwd -f don't work for linux...... (4 Replies)
Discussion started by: rrivas
4 Replies
Login or Register to Ask a Question