Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Unix Login problem ... help!!!!! Post 302151722 by wempy on Monday 17th of December 2007 04:38:54 AM
Old 12-17-2007
if you can become root then you can become any user.

so

sudo su -
(you are now root)
su - userid
(you are now userid)
CTRL-d
(you are now root)
su - otheruserid
(you are now otheruserid)

if you get errors when "becoming" another user check /etc/passwd and make sure that a valid shell is set for that user
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix login problem

When i am trying to login to my unix machine. It is directly loging me into root ( / ) directory, instead of my home directory. Why this is happening. And generally when this happens (4 Replies)
Discussion started by: ds_sastry
4 Replies

2. UNIX for Dummies Questions & Answers

login problem

. HP-UX HPUX11I B.11.11 U 9000/778 (tb) telnetd: /usr/bin/login: No such file or directory Ok im currently logged into the machine and dont plan on logging out i found this out when i went to open another session on the box and was prompted with the above, i do not have a backup of the... (4 Replies)
Discussion started by: bbutler3295
4 Replies

3. Solaris

Login problem

Hi, I have a sun system. Currently reinstalled the OS. The TP interface is configured as hme0 by default when the OS got installed. I can ping locally. But when I try to login it gives me the belwo error message -- unable to login directly on the console. Please do let me know what could... (5 Replies)
Discussion started by: RajaRC
5 Replies

4. SCO

Problem when login

When I login on consola as root I have problem. I typed on login: root password:rootpassword then promt login: problem is for other users In sigle user mode I can login as root. Please halp me (1 Reply)
Discussion started by: draganmi
1 Replies

5. AIX

problem with login

I have installed AIX 5.2 on an H70. It actually reports a memory fault as in SRN 25c68008. However when the system starts up it reports that there is 1536 Mbyte of memory and the O/S starts. I am connecting through the serial port of an old laptop onto the S1 port of the H70. The setting is... (10 Replies)
Discussion started by: johnf
10 Replies

6. AIX

user login problem & Files listing problem.

1) when user login to the server the session got colosed. How will resolve? 2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem? Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies

7. UNIX for Advanced & Expert Users

Unix user with root power problem in to login in putty

Hello, I created a user in my AIX 5.3 system and i modified /etc/passwd file in and assigned this user the uid=0 like root user. The problem is that when this user log into the system through putty it asks for root password instead of the user password. As a result of this, if i reset the... (4 Replies)
Discussion started by: omonoiatis9
4 Replies

8. Ubuntu

login problem

Hi After I update my vga driver ubuntu stop to boot. When I restart my computer appear ubuntu first page and after he go to a black screen without any message. How I can restore of find problem? Thanks (6 Replies)
Discussion started by: nichol
6 Replies

9. Red Hat

Login problem

Hi Everybody, I am getting following error when am trying to login to my oracle user. su: warning: cannot change directory to /bin/bash: Not a directory -sh: /bin/bash/.profile: Not a directory -bash-3.1$ Please help me how to avoid this message and how to login with normal user login... (1 Reply)
Discussion started by: mastansaheb
1 Replies
PAM_LOGIN_ACCESS(8)					    BSD System Manager's Manual 				       PAM_LOGIN_ACCESS(8)

NAME
pam_login_access -- login.access PAM module SYNOPSIS
[service-name] module-type control-flag pam_login_access [options] DESCRIPTION
The login.access service module for PAM provides functionality for only one PAM category: account management. In terms of the module-type parameter, this is the ``account'' feature. Login.access Account Management Module The login.access account management component (pam_sm_acct_mgmt()), returns success if and only if the user is allowed to log in on the spec- ified tty (in the case of a local login) or from the specified remote host (in the case of a remote login), according to the restrictions listed in /etc/login.access. SEE ALSO
login.access(5), pam.conf(5), pam(8) AUTHORS
The login.access(5) access control scheme was designed and implemented by Wietse Venema. The pam_login_access module and this manual page were developed for the FreeBSD Project by ThinkSec AS and NAI Labs, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS''), as part of the DARPA CHATS research program. BSD
January 24, 2002 BSD
All times are GMT -4. The time now is 05:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy