Sponsored Content
Full Discussion: login without password
Top Forums UNIX for Dummies Questions & Answers login without password Post 302309168 by akuma on Tuesday 21st of April 2009 09:13:15 AM
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 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

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. 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

6. 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

7. 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
sulogin(1M)                                               System Administration Commands                                               sulogin(1M)

NAME
sulogin - access single-user mode SYNOPSIS
sulogin DESCRIPTION
The sulogin utility is automatically invoked by init when the system is first started. It prompts the user to type the root password to enter system maintenance mode (single-user mode) or to type EOF (typically <CTRL-D>) for normal startup (multi-user mode). The user should never directly invoke sulogin. The sulogin utility can prompt the user to enter the root password on a variable number of serial console devices, in addition to the tra- ditional console device. See consadm(1M) and msglog(7D) for a description of how to configure a serial device to display the single-user login prompt. FILES
/etc/default/sulogin Default value can be set for the following flag: PASSREQ Determines if login requires a password. Default is PASSREQ=YES. /etc/default/login Default value can be set for the following flag: SLEEPTIME If present, sets the number of seconds to wait before login failure is printed to the screen and another login attempt is allowed. Default is 4 seconds. Minimum is 0 seconds. Maximum is 5 seconds. Both su(1M) and login(1) are affected by the value of SLEEPTIME. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsr | +-----------------------------+-----------------------------+ SEE ALSO
login(1), consadm(1M), init(1M), su(1M), attributes(5), msglog(7D) SunOS 5.10 25 Sep 2002 sulogin(1M)
All times are GMT -4. The time now is 12:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy