chkconfig ??
I had a quick question and thought maybe some of you could help. I'm a complete newbie but trying hard at this.
I have installed RH9 and I followed a howto guide and setup SSH to run on a higher port, disallow root login, and also use protocol 2. However I notice that when I login SSH and su to root user, I cannot use chkconfig command. If I enable root login, I can use the chkconfig. How do I get chkconfig to work if I log in as a user and su to root?? Thanks in advance ;) |
try using su -
|
Thanks for the quick reply! and it worked. Thanks again ;)
|
Quote:
Try this: visudo (used only to edit the sudo access file) Uncomment the group wheel (with passwd access) Save it Make the user a member of wheel, so it will be able to sudo like: usermod -G users,wheel username Then if you are login-in as that user, try: sudo su - Which is the same as su - , but much more reliable and registers every wrong entered passwd in your syslog or message log file. Hope this helps, |
Hey, thanks for the suggestion, I'll definitely look into that
|
All times are GMT -5. The time now is 02:05 PM. |