Solved

Telnet & root...

Posted on 2000-04-19
6
744 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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…
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 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.:
Suggested Courses

624 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