Solved

Telnet & root...

Posted on 2000-04-19
6
733 Views
Last Modified: 2008-02-01
Hello,

I can access to my UNIX server using
Telnet and my account.
When I type 'su root' and my password
the answer is : Sorry

I use to work on Linux and I never had
this problem.

Any idea ??

Thanx,
WW
0
Comment
Question by:wwalschaerts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 15

Expert Comment

by:samri
ID: 2730078
wwalschaerts,

 su root will require you to enter the password for root, and not your password.  

As per Solaris 7 man page
--
    The su  command allows one to become  another  user  without
     logging off. The default user name is root (super user).

     To use su  ,  the  appropriate  password  must  be  supplied
     (unless  the  invoker  is  already root). If the password is
     correct, su  creates a new shell process that has  the  real
     and  effective  user  ID, group IDs, and supplementary group
     list set to those of the specified username. The  new  shell
     will be the shell specified in the shell field of username's ...
---

most likely in your previous sytem, the password for root is the same as your login password.  Please double check the password you entered against the root password and try again.


good luck
0
 

Accepted Solution

by:
bsher earned 100 total points
ID: 2730084
have u include urself into root's group
0
 
LVL 1

Expert Comment

by:raghurani
ID: 2730348
Hi WW,

  I agree with samri. If his solution does not work, then,
  think giving my suggestion a try.  

  Please check the contents of /etc/default/security file.
  SU_ROOT_GROUP variable may block you from using "su".

  Following is a piece of manual from "man 4 security" :

---------

SU_ROOT_GROUP
        This parameter defines the root group name for the su
        command.  Refer to su(1).
        SU_ROOT_GROUP=group_name The root group name is set to
         the specified symbolic group name.  The su command
         enforces the restriction that a non-superuser must be a
        member of the specified root group in order to be
        allowed to su to root.  This does not alter password
        checking.

        Default value: If this parameter is not defined or if
         it is commented out, there is no default value.  In
         this case, a non superuser is allowed to su to root
         without being bound by root group restrictions.


------------

good luck :))

-- Raghu
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 15

Expert Comment

by:samri
ID: 2730398
ww,

  just curious,  what variant of UNIX you are running?


-
0
 

Author Comment

by:wwalschaerts
ID: 2730433
Hum... I don't have default directory
in /etc. I have it in my Linux machine
only. I have had a look just for curiosity.

I cant find any security file having the
parameter you mentionned.

For info, the version installed is
true64 v4 on Alpha system

WW
0
 

Author Comment

by:wwalschaerts
ID: 2733562
Right ! It was not a setting problem.
You put me on the track :
My account was not part of SYSTEM
group.

Thanx.
WW
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question