[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] ssh and virtual sites.



"Steven Werby" <steven-lists@xxxxxxxxxxxx> writes:

> > I'm logged in as root and I su to another user from a virtual site and I

> > ************************* Access Denied *************************
> > *                                                               *
> > * Sorry, you do not have telnet/shell access to this Cobalt     *
> > * server.                                                       *
> > *                                                               *
> > *****************************************************************

> This has nothing to do with SSH.  You'd have the same problem using telnet.  You
> need to grant the user telnet access through the GUI if you want to be able to
> login or su that user from either telnet or ssh.  SSH is available to your

That's not completely right. You do _not_ need to grant the user
telnet access from the GUI.

As you are the root user (when su'ed), you have the access to override
the shell specified in /etc/passwd. You do it this way:

        su -m username

You can also use '-s' and specify the shell you want.


-- 
Jens Kristian Søgaard, Mermaid Consulting I/S,
jens@xxxxxxxxxxxxxxxxxxxx,
http://www.mermaidconsulting.com/