Forums

Kenan
Kenan
Offline
Resolved
0 votes
Sunday, August 19 2012, 09:13 PM
Share this post:
Responses (20)
  • Accepted Answer

    Wednesday, January 29 2020, 08:22 AM - #Permalink
    Resolved
    0 votes
    @Timothy, This is a 7 year old thread. Locking......
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 29 2020, 05:08 AM - #Permalink
    Resolved
    0 votes
    Deleting the user and redoing might not work... You might need to chown youruser:allusers /home/youruserfoldr as root. This will allow you access to your home folder as well as adding you to the allusers group. I am not sure why the user is not added to the allusers group on creation. I have created users and had no problem, as well as having to manually add to allusers group upon creation.
    The reply is currently minimized Show
  • Accepted Answer

    Duncan Rix
    Duncan Rix
    Offline
    Saturday, September 01 2012, 10:37 AM - #Permalink
    Resolved
    0 votes
    Ok so iv got round it.

    It would appear that deleting then re-creating the user works.
    The reply is currently minimized Show
  • Accepted Answer

    Duncan Rix
    Duncan Rix
    Offline
    Saturday, September 01 2012, 10:14 AM - #Permalink
    Resolved
    0 votes
    Hi all.
    I could not find the shell-extension in the market place, so I did "yum install app-shell-extension-core".

    I now get the option to change shell access in webconfig but it dose not seem to work.

    When I sellect an option then click update all I get in my browser is "Disallowed Key Characters."

    Any idears on how to fix this? And particular log files I should be looking at?

    Thanks in advance

    P.S ClearOS 6.3 64-Bit
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 31 2012, 02:04 PM - #Permalink
    Resolved
    0 votes
    I'll talk to Pete on that one...I don't recall, but I think we probably specifically do not show this in Marketplace because users tend to 'install the kitchen sink', and we really want to discourage installing this extension unless you really need it. And if you really need it, you know all about accessing the shell.

    But..we do need to some how make this information easily available so you're not spending hours wondering why someone else has the shell options, but not you.

    B.
    The reply is currently minimized Show
  • Accepted Answer

    kfox
    kfox
    Offline
    Friday, August 31 2012, 03:59 AM - #Permalink
    Resolved
    0 votes
    Is this extension supposed to show up in the Marketplace?

    Apparently not, at least for now.
    The reply is currently minimized Show
  • Accepted Answer

    markus
    markus
    Offline
    Tuesday, August 28 2012, 12:13 PM - #Permalink
    Resolved
    0 votes
    Yup, done with chmod.
    Thx Kenan. :)
    The reply is currently minimized Show
  • Accepted Answer

    Kenan
    Kenan
    Offline
    Tuesday, August 28 2012, 11:26 AM - #Permalink
    Resolved
    0 votes
    that means the markus user is not owner for the markus folder
    The reply is currently minimized Show
  • Accepted Answer

    markus
    markus
    Offline
    Tuesday, August 28 2012, 11:20 AM - #Permalink
    Resolved
    0 votes
    I tried to see permission , i got this :
    [root@cyanogen home]# ls -al
    total 20
    drwxr-xr-x. 5 root root 4096 Aug 28 19:10 .
    dr-xr-xr-x. 24 root root 4096 Aug 9 14:44 ..
    drwx------ 2 1002 allusers 4096 Aug 28 08:57 markus


    What it means 1002 ?
    The reply is currently minimized Show
  • Accepted Answer

    Kenan
    Kenan
    Offline
    Tuesday, August 28 2012, 06:37 AM - #Permalink
    Resolved
    0 votes
    Try this:

    chown markus:markus /home/markus
    chmod 0700 /home/markus

    Try to login as markus:
    su - markus

    if it can't solution then delete user and create again choose as /bin/bash
    The reply is currently minimized Show
  • Accepted Answer

    markus
    markus
    Offline
    Tuesday, August 28 2012, 01:52 AM - #Permalink
    Resolved
    0 votes
    Hi All
    I already create a new user (markus) on ClearOS 6.3 and choose bash for login shell, but i had an error like this, when i accessing via putty.

    Could not chdir to home directory /home/markus: Permission denied
    -bash: /home/markus/.bash_profile: Permission denied
    -bash-4.1$


    It seems something wrong with permission. Any idea?
    The reply is currently minimized Show
  • Accepted Answer

    Kenan
    Kenan
    Offline
    Sunday, August 26 2012, 09:26 PM - #Permalink
    Resolved
    0 votes
    I'm glad.
    Thank you Ben.

    Kenan
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, August 26 2012, 08:29 PM - #Permalink
    Resolved
    0 votes
    Thanks: now it is and it works. Had to use yum though to install it. Is this extension supposed to show up in the Marketplace?
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, August 26 2012, 07:49 PM - #Permalink
    Resolved
    0 votes
    Is app-shell-extension-core installed?
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, August 26 2012, 07:44 PM - #Permalink
    Resolved
    0 votes
    Adding shell access to users is now an extension...goto the Marketplace and search for "Shell" and install the extension...or run:
    yum install app-shell-extension-core


    Amounts to same thing.

    When you next go back to the user manager, you should see the Shell options.

    Ben
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, August 26 2012, 06:31 PM - #Permalink
    Resolved
    0 votes
    Marcel,

    Were probably looking at a different version version of the User app(?): see screenshot attached.
    [file name=user.zip size=64565]http://www.clearfoundation.com/media/kunena/attachments/legacy/files/user.zip[/file]
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, August 26 2012, 05:51 PM - #Permalink
    Resolved
    0 votes
    Go to system --> user --> (select user) edit --> (login shell) /bin/bash. Now you have shell access for the user selected.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, August 26 2012, 11:02 AM - #Permalink
    Resolved
    0 votes
    Can't find this on 6.3 as well.
    If you change the attribute manually in the LDAP (e.g. using the LDAP administration tool on an Ubuntu client), you get login on clients and server and can spare yourself the effort of changing ldap.conf files on all clients.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, August 25 2012, 06:50 PM - #Permalink
    Resolved
    0 votes
    I have 6.2 with updates and can't see this option at all in the web interface but I did manage to find a workaround that may work for you.

    On the client /etc/openldap.conf add this line
    nss_override_attribute_value loginShell /bin/bash
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, August 19 2012, 09:49 PM - #Permalink
    Resolved
    0 votes
    I assume your using 6.3? this tweak is not needed any more, you can specify the users login shell when you create the user (default is /sbin/nologon means no shell access)
    The reply is currently minimized Show
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.