Unix Login problem ... help!!!!!


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Unix Login problem ... help!!!!!
# 1  
Old 12-14-2007
Data Unix Login problem ... help!!!!!

Hi
I had asked my system admin to
Disable direct login for xxxx id since it was a generic ID.
If someone wanted to login to xxxx id on same system, they should initially login with their yyyy id(personal ID) and then su to xxxx userid.(wanted to track who had all logged in, it would be diffult if
everyone used to login in generic id

Now,the person in charge has locked direct access(which I needed) and also locked access through other ID's (I have sudo access, I am able to login but want the same with other non sudo ID too

Please let me know how to revert back to eariler (since its a weekend, all sys admin have allready left home)


Thanks in Advance.....
# 2  
Old 12-14-2007
How are you currently accessing the system?

What are you sudo'ing from?

Did you make clear your requirements?

Did you understand the implications of the changes they said they would make?

Who owns/manages/is responsible for the server?

What user accounts are you permitted to use?
# 3  
Old 12-14-2007
Data please help

i am logging in to the system using my id zzzz and it has sudo acccess.

So what i am doing is

Code:
sudo su
su xxxx

and this lets me in

if I just do

Code:
su xxxx

auth fails
# 4  
Old 12-14-2007
Quote:
Originally Posted by porter
Who owns/manages/is responsible for the server?
If you do not own/manage or are responsible for the server then use the access you have as you have it and let the admins fix it.

If you are responsible then you still have not told me how you login, (ssh, telnet, rlogin, xdm, gdm, kdm ) or even what type of system.

Results of "uname -a" would help.
# 5  
Old 12-14-2007
Code:
uname -a
SunOS solarmoon 5.8 Generic_117350-44 sun4u sparc SUNW,Sun-Fire-15000

Login method : ssh

I have sudo access and so I can be root

I am responsible for the box
# 6  
Old 12-14-2007
So can you still login or not? Because you say the admins have locked login access?
# 7  
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
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

9. 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
Login or Register to Ask a Question