Help can't change user by su - command!


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Help can't change user by su - command!
# 1  
Old 05-15-2006
Help can't change user by su - command!

I can login user by telnet, but I can't change user by su command with same passwd. I have no idea about that, please do me a favour and tell me the config which may be wrong.

Thanks in advance!
# 2  
Old 05-16-2006
check out if su is enabled for the user...
# 3  
Old 05-16-2006
Sure sounds like ol' AIX.

Like the posting before me says.

Make sure that this is set.

Another user can SU to user [Yes]
# 4  
Old 05-16-2006
it will be worth considering

Are you able to su at all?
run , which su, also see perms on su. .

try running su - root

Prashant
# 5  
Old 09-13-2007
How to check if su is enabled for a user or not? Is there a command or a way to do that? Thanks very much!
# 6  
Old 05-15-2008
If you are using sudo ,I can say that sudo would determine who is an authorized user by consulting the file /etc/sudoers.
# 7  
Old 05-15-2008
Prior to running su, type stty -a and see if any character in the password you are attempting to use has been assigned to erase or kill or something like that.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Command to change add permissions for a new user to all files in all subfolders and folders

Hi there! I'm new to Unix and haven't done command line stuff since MS-Dos and Turbo Pascal (hah!), I would love some help figuring out this basic command (what I assume is basic). I'd like to add a User to the permissions of all files in a folder and all files in all subfolders, as well... (9 Replies)
Discussion started by: Janjbrt
9 Replies

2. UNIX for Dummies Questions & Answers

could a change the ls command for a user only

Hi When I do the ls command I do ls -al so could I put someting in the .profile or somewhere else to juste write ls and the command will do ls -al ??? juste for 1 user ??? thanks Sylvain (5 Replies)
Discussion started by: slevesque
5 Replies

3. AIX

How to change normal user id to LDAP user id?

If I create a new user id test: mkuser id=400 test then I want it to LDAP user: chuser -R LDAP SYSTEM=LDAP registry=LDAP test It shows: 3004-687 User "test" does not exist. How to do? (4 Replies)
Discussion started by: rainbow_bean
4 Replies

4. Solaris

how to change /export/home/user dir to /home /user in solaris

Hi all i am using solaris 10, i am creating user with useradd -d/home/user -m -s /bin/sh user user is created with in the following path /export/home/user (auto mount) i need the user to be created like this (/home as default home directory ) useradd -d /home/user -m -s /bin/sh... (2 Replies)
Discussion started by: kalyankalyan
2 Replies

5. UNIX for Dummies Questions & Answers

change user> to user@host> ssh prompt

Hi, I was wondering how to change the prompt for my ssh login. At the moment it is like user> while I'd like it to be as user@host> It is in the .bash_profile or .ssh ??? Thanks (2 Replies)
Discussion started by: pmasterkim
2 Replies

6. Shell Programming and Scripting

How do i change to super user then revert back to ordinary user ,using shell script?

Hi all, I am trying to eject the cdrom from a livecd after certain stage... Now assuming that it is possible to eject,please consider my issue!!! The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive... However if i try pfexec eject it... (3 Replies)
Discussion started by: wrapster
3 Replies

7. Forum Support Area for Unregistered Users & Account Problems

Change of user name

I am on several other Forums under the handle of FloridaBD and therefore would like to request that my user name here on Unix forums be changed from SunBurntYux to FloridaBSD Thanks. (1 Reply)
Discussion started by: SunBurntYux
1 Replies

8. Post Here to Contact Site Administrators and Moderators

User name change?

Hello, I love the service. My username is Jmt. Can I change that to WebKruncher? Thanks, -Jmt WebKruncher.com - sole proprietor. (1 Reply)
Discussion started by: Jmt
1 Replies
Login or Register to Ask a Question