Solved

Telnet & root...

Posted on 2000-04-19
6
709 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
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem Imaging Computers With Clonezilla 2 83
help pulling data string using Awk 9 63
Oracle Finace 3 67
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 76
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now