LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2005, 03:24 PM   #1
Magusofdreams
LQ Newbie
 
Registered: Feb 2005
Distribution: Debian
Posts: 10

Rep: Reputation: 0
ssh and chmod


With chmod can you change all the subdirectories to and if so how? Can a user be in more then one group? Can a file have more then one group?

Now my ssh questions. I got the ssh daemon running but aparantly in need to have some form of key install and make some user for ssh. How would I go about doing that?
 
Old 03-04-2005, 03:30 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Welcome to LQ.

You can recursively chmod or chown using the "-R" switch.

A user can be in more than one group.

A file cannot normally have more than one group but you may want to look at extended attributes.

You can make public keys (I assume thats what you mean) using this tutorial:
http://www.linuxquestions.org/questi...ticle&artid=79
 
Old 03-04-2005, 03:47 PM   #3
Magusofdreams
LQ Newbie
 
Registered: Feb 2005
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you I can't wait to get home to try making my public keys. I would do it remotely but I can't get into my ssh server. I should have read the man page for chmod a little close. Thank you again.

Last edited by Magusofdreams; 03-04-2005 at 03:48 PM.
 
Old 03-04-2005, 03:51 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
No problem! We're here to help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 03:50 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 12:53 PM
What can we do if we type chmod ugo-x /bin/chmod ?????? bunny123 Linux - Software 3 02-01-2005 09:53 PM
CHMOD in shell : chmod 777 /usr/ <---is that right? cpanelskindepot Programming 5 07-16-2004 06:37 AM
ssh issue: /usr/bin/ssh -x -oFallBackToRsh no -l WeNdeL Linux - Software 1 03-04-2003 08:17 PM


All times are GMT -5. The time now is 10:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration